Skip to content

Commit fd2adea

Browse files
committed
Rename @plotday/sdk to @plotday/agent
1 parent 262d280 commit fd2adea

85 files changed

Lines changed: 282 additions & 249 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/shaggy-snakes-grab.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@plotday/agent": minor
3+
---
4+
5+
Changed: Renamed @plotday/sdk to @plotday/agent.

.changeset/three-chicken-refuse.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@plotday/tool-outlook-calendar": patch
3+
"@plotday/tool-google-calendar": patch
4+
"@plotday/tool-google-contacts": patch
5+
---
6+
7+
Changed: Updated to @plotday/agent

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
## Packages
1515

16-
- **[@plotday/sdk](./sdk)** - Core SDK with types, Agent class, built-in tool interfaces, and CLI
16+
- **[@plotday/agent](./agent)** - Core SDK with types, Agent class, built-in tool interfaces, and CLI
1717
- **[tools/](./tools)** - Tools for building agents, including integrations with popular services
1818
- **[agents/](./agents)** - Full source code for several Plot agents
1919

@@ -23,10 +23,10 @@ You'll need a [Plot account](https://plot.day) to deploy agents.
2323

2424
```bash
2525
# Create a new agent
26-
npx @plotday/sdk agent create
26+
npx @plotday/agent create
2727

2828
# Connect your Plot account
29-
npx @plotday/sdk login
29+
npx @plotday/agent login
3030

3131
# Deploy your agent
3232
cd my-agent
@@ -35,11 +35,11 @@ npm run deploy
3535

3636
## Documentation
3737

38-
See the [SDK documentation](./sdk/README.md) for detailed guides and API reference.
38+
See the [SDK documentation](./agent/README.md) for detailed guides and API reference.
3939

4040
## Changelog
4141

42-
See the [SDK changelog](./sdk/CHANGELOG.md) for version history and release notes.
42+
See the [SDK changelog](./agent/CHANGELOG.md) for version history and release notes.
4343

4444
## License
4545

RELEASING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This repository uses [Changesets](https://github.com/changesets/changesets) to m
44

55
## Package Versioning Strategy
66

7-
- **SDK** (`@plotday/sdk`): Independent versioning
7+
- **SDK** (`@plotday/agent`): Independent versioning
88
- **Tools** (`@plotday/tool-*`): Independent versioning
99
- **Agents** (`@plotday/agent-*`): Not published, excluded from releases
1010

@@ -102,7 +102,7 @@ This tagging convention allows you to:
102102

103103
Each GitHub release includes:
104104

105-
- **Title**: Package name and version (e.g., `@plotday/sdk@0.9.1`)
105+
- **Title**: Package name and version (e.g., `@plotday/agent@0.9.1`)
106106
- **Release Notes**: Automatically extracted from the package's CHANGELOG.md for that version
107107
- **Assets**: None (packages are distributed via npm)
108108

@@ -121,7 +121,7 @@ If you need to create a GitHub release manually after publishing:
121121

122122
```bash
123123
# For SDK
124-
gh release create sdk@0.9.1 --title "@plotday/sdk@0.9.1" --notes "Release notes here"
124+
gh release create sdk@0.9.1 --title "@plotday/agent@0.9.1" --notes "Release notes here"
125125

126126
# For a tool
127127
gh release create tool-google-calendar@0.1.0 --title "@plotday/tool-google-calendar@0.1.0" --notes "Release notes here"
@@ -198,7 +198,7 @@ git push
198198
pnpm release
199199

200200
# 5. (Optional) Create GitHub release manually
201-
gh release create sdk@0.9.1 --title "@plotday/sdk@0.9.1" --notes "Release notes"
201+
gh release create sdk@0.9.1 --title "@plotday/agent@0.9.1" --notes "Release notes"
202202
```
203203

204204
⚠️ This should only be done in emergencies. The automated workflow is preferred.

agents/chat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"lint": "plot agent lint"
1414
},
1515
"dependencies": {
16-
"@plotday/sdk": "workspace:^",
16+
"@plotday/agent": "workspace:^",
1717
"typebox": "^1.0.35"
1818
},
1919
"devDependencies": {

agents/chat/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import {
77
AuthorType,
88
Tag,
99
type ToolBuilder,
10-
} from "@plotday/sdk";
11-
import { AI, type AIMessage } from "@plotday/sdk/tools/ai";
12-
import { ActivityAccess, Plot } from "@plotday/sdk/tools/plot";
10+
} from "@plotday/agent";
11+
import { AI, type AIMessage } from "@plotday/agent/tools/ai";
12+
import { ActivityAccess, Plot } from "@plotday/agent/tools/plot";
1313

1414
export default class ChatAgent extends Agent<ChatAgent> {
1515
build(build: ToolBuilder) {

agents/chat/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig",
3-
"extends": "@plotday/sdk/tsconfig.base.json",
3+
"extends": "@plotday/agent/tsconfig.base.json",
44
"include": ["src/**/*.ts"]
55
}

agents/events/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"logs": "plot agent logs"
1515
},
1616
"dependencies": {
17-
"@plotday/sdk": "workspace:^",
17+
"@plotday/agent": "workspace:^",
1818
"@plotday/tool-google-calendar": "workspace:^",
1919
"@plotday/tool-outlook-calendar": "workspace:^"
2020
},

agents/events/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ import {
66
Agent,
77
type Priority,
88
type ToolBuilder,
9-
} from "@plotday/sdk";
9+
} from "@plotday/agent";
1010
import type {
1111
Calendar,
1212
CalendarAuth,
1313
CalendarTool,
1414
SyncOptions,
15-
} from "@plotday/sdk/common/calendar";
16-
import { ActivityAccess, Plot } from "@plotday/sdk/tools/plot";
15+
} from "@plotday/agent/common/calendar";
16+
import { ActivityAccess, Plot } from "@plotday/agent/tools/plot";
1717
import { GoogleCalendar } from "@plotday/tool-google-calendar";
1818
import { OutlookCalendar } from "@plotday/tool-outlook-calendar";
1919

agents/events/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig",
3-
"extends": "@plotday/sdk/tsconfig.base.json",
3+
"extends": "@plotday/agent/tsconfig.base.json",
44
"include": ["src/**/*.ts"]
55
}

0 commit comments

Comments
 (0)