Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/publish-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ jobs:
if: github.event.inputs.dry_run == 'true'
working-directory: sdk/relayfile-sdk
run: |
echo "Dry run - would publish @agent-relay/relayfile-sdk@${{ needs.build.outputs.new_version }}"
echo "Dry run - would publish @relayfile/sdk@${{ needs.build.outputs.new_version }}"
npm publish --dry-run --access public --tag ${{ github.event.inputs.tag }} --ignore-scripts

- name: Publish with provenance
Expand Down Expand Up @@ -221,7 +221,7 @@ jobs:

echo "## SDK Publish Summary" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "**Package**: \`@agent-relay/relayfile-sdk\`" >> $GITHUB_STEP_SUMMARY
echo "**Package**: \`@relayfile/sdk\`" >> $GITHUB_STEP_SUMMARY
echo "**Version**: \`${{ needs.build.outputs.new_version }}\`" >> $GITHUB_STEP_SUMMARY
echo "**NPM Tag**: \`${{ github.event.inputs.tag }}\`" >> $GITHUB_STEP_SUMMARY
echo "**Prerelease**: \`$IS_PRERELEASE\`" >> $GITHUB_STEP_SUMMARY
Expand All @@ -236,5 +236,5 @@ jobs:
echo "" >> $GITHUB_STEP_SUMMARY
echo "### Install" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`bash" >> $GITHUB_STEP_SUMMARY
echo "npm install @agent-relay/relayfile-sdk@${{ needs.build.outputs.new_version }}" >> $GITHUB_STEP_SUMMARY
echo "npm install @relayfile/sdk@${{ needs.build.outputs.new_version }}" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
2 changes: 1 addition & 1 deletion docs/relayfile-v1-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ Initial provider:

## 15. SDK Specification (TypeScript)

Package: `@agent-relay/relayfile-sdk`
Package: `@relayfile/sdk`

Core interface:

Expand Down
6 changes: 3 additions & 3 deletions sdk/relayfile-sdk/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# @agent-relay/relayfile-sdk
# @relayfile/sdk

TypeScript SDK for the RelayFile API contract in `openapi/relayfile-v1.openapi.yaml`.

## Install

```bash
npm install @agent-relay/relayfile-sdk
npm install @relayfile/sdk
```

## Usage

```ts
import { InvalidStateError, QueueFullError, RelayFileClient, RevisionConflictError } from "@agent-relay/relayfile-sdk";
import { InvalidStateError, QueueFullError, RelayFileClient, RevisionConflictError } from "@relayfile/sdk";

const client = new RelayFileClient({
baseUrl: "https://relayfile.agent-relay.com",
Expand Down
4 changes: 2 additions & 2 deletions sdk/relayfile-sdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sdk/relayfile-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@agent-relay/relayfile-sdk",
"version": "0.1.2",
"name": "@relayfile/sdk",
"version": "0.2.0",
"description": "TypeScript SDK for the RelayFile filesystem-over-REST API.",
"license": "Apache-2.0",
"type": "module",
Expand Down