@letta-ai/letta-code 0.34.48 → 0.34.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp-client.js +2 -2
- package/dist/mcp-client.js.map +1 -1
- package/dist/mcp-oauth.js +2 -2
- package/dist/mcp-oauth.js.map +1 -1
- package/dist/types/agent/subagents/ephemeral-subagent.d.ts +56 -0
- package/dist/types/agent/subagents/ephemeral-subagent.d.ts.map +1 -0
- package/dist/types/agent/subagents/manager.d.ts +3 -3
- package/dist/types/agent/subagents/manager.d.ts.map +1 -1
- package/dist/types/agent/subagents/subagent-reminders.d.ts +9 -0
- package/dist/types/agent/subagents/subagent-reminders.d.ts.map +1 -0
- package/dist/types/backend/api/ephemeral-conversations.d.ts +4 -0
- package/dist/types/backend/api/ephemeral-conversations.d.ts.map +1 -1
- package/dist/types/mcp-scope.d.ts +5 -0
- package/dist/types/mcp-scope.d.ts.map +1 -1
- package/dist/types/tools/impl/external-llm-trace-session.d.ts +1 -0
- package/dist/types/tools/impl/external-llm-trace-session.d.ts.map +1 -1
- package/dist/types/tools/impl/shell-env.d.ts.map +1 -1
- package/dist/types/tools/impl/task.d.ts.map +1 -1
- package/dist/types/tools/impl/workflow.d.ts +1 -0
- package/dist/types/tools/impl/workflow.d.ts.map +1 -1
- package/dist/types/tools/workflow/format-stats.d.ts +4 -0
- package/dist/types/tools/workflow/format-stats.d.ts.map +1 -1
- package/dist/types/tools/workflow/sdk-spawner.d.ts +7 -0
- package/dist/types/tools/workflow/sdk-spawner.d.ts.map +1 -1
- package/dist/types/tools/workflow/types.d.ts +19 -2
- package/dist/types/tools/workflow/types.d.ts.map +1 -1
- package/dist/types/tools/workflow/workflow-engine.d.ts.map +1 -1
- package/dist/types/utils/process-liveness.d.ts +7 -1
- package/dist/types/utils/process-liveness.d.ts.map +1 -1
- package/dist/types/utils/secrets-store.d.ts +6 -0
- package/dist/types/utils/secrets-store.d.ts.map +1 -1
- package/letta.js +18402 -17997
- package/npm-shrinkwrap.json +5 -5
- package/package.json +2 -2
- package/scripts/source-file-size-baseline.json +1 -1
- package/skills/workflow-authoring/SKILL.md +9 -0
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@letta-ai/letta-code",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.49",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"packages": {
|
|
6
6
|
"node_modules/@alcalzone/ansi-tokenize": {
|
|
@@ -3411,9 +3411,9 @@
|
|
|
3411
3411
|
"license": "ISC"
|
|
3412
3412
|
},
|
|
3413
3413
|
"node_modules/jose": {
|
|
3414
|
-
"version": "6.2.
|
|
3415
|
-
"resolved": "https://registry.npmjs.org/jose/-/jose-6.2.
|
|
3416
|
-
"integrity": "sha512-
|
|
3414
|
+
"version": "6.2.17",
|
|
3415
|
+
"resolved": "https://registry.npmjs.org/jose/-/jose-6.2.17.tgz",
|
|
3416
|
+
"integrity": "sha512-wOuK9V1yujQFH5S0ZWmLcDZN7+IKh9bUCC2ZPCf2HDlol3WWHy+PPyNjEI75FXRLMp3vDKQcupP59xhVU95hcg==",
|
|
3417
3417
|
"license": "MIT",
|
|
3418
3418
|
"funding": {
|
|
3419
3419
|
"url": "https://github.com/sponsors/panva"
|
|
@@ -5080,7 +5080,7 @@
|
|
|
5080
5080
|
},
|
|
5081
5081
|
"": {
|
|
5082
5082
|
"name": "@letta-ai/letta-code",
|
|
5083
|
-
"version": "0.34.
|
|
5083
|
+
"version": "0.34.49",
|
|
5084
5084
|
"dependencies": {
|
|
5085
5085
|
"@cursor/sdk": "1.1.0",
|
|
5086
5086
|
"@earendil-works/pi-ai": "^0.99.1",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@letta-ai/letta-code",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.49",
|
|
4
4
|
"lettaStartupLogProtocol": 1,
|
|
5
5
|
"lettaConfigDirProtocol": 1,
|
|
6
6
|
"description": "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
},
|
|
288
288
|
"lettaLifecycleProtocol": 1,
|
|
289
289
|
"lettaRuntimeGraphProtocol": 1,
|
|
290
|
-
"lettaRuntimeGraphSha512": "sha512-
|
|
290
|
+
"lettaRuntimeGraphSha512": "sha512-PelylmCwHLSQ4nNKA+M2dEtr1JsdzY5CQo8ewFdGCbwBGsYSkZRFrbSIHznoeAq3PLq98jM8R+FrPeKVr0mwsQ==",
|
|
291
291
|
"patchedDependencies": {
|
|
292
292
|
"@earendil-works/pi-ai@0.99.1": "patches/@earendil-works%2Fpi-ai@0.99.1.patch"
|
|
293
293
|
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"src/cli/reflection-transcript.test.ts": 1084,
|
|
21
21
|
"src/cli/subcommands/mcp.ts": 1045,
|
|
22
22
|
"src/cli/subcommands/skills.ts": 1243,
|
|
23
|
-
"src/headless.ts":
|
|
23
|
+
"src/headless.ts": 4821,
|
|
24
24
|
"src/hooks/integration.test.ts": 1147,
|
|
25
25
|
"src/index.ts": 2543,
|
|
26
26
|
"src/mods/learning-harness.ts": 2434,
|
|
@@ -100,6 +100,15 @@ Cloud decisions service.
|
|
|
100
100
|
- `phase(title)` — start a new phase; subsequent agent() calls are grouped
|
|
101
101
|
under this title in progress output.
|
|
102
102
|
- `log(message)` — emit a progress message to the user.
|
|
103
|
+
- `budget` — live run cost in USD: `budget.spent`, `budget.limit`, and
|
|
104
|
+
`budget.remaining` (limit and remaining are `null` without a `maxCostUsd`;
|
|
105
|
+
spent and remaining are `null` once any usage had no cost estimate).
|
|
106
|
+
With a budget, reaching it stops the run: pending and new calls reject with
|
|
107
|
+
`code: "budget_exceeded"` and running subagents are interrupted (a model
|
|
108
|
+
request already in flight finishes first, so the final spend can exceed the
|
|
109
|
+
limit by that much). Check `budget.remaining` between stages to skip
|
|
110
|
+
optional work (an extra verification pass) instead of hitting the limit
|
|
111
|
+
mid-stage.
|
|
103
112
|
- `decide(state, questions, opts?)` → Promise; not a subagent call. Ask a
|
|
104
113
|
calibrated Jev model (chosen internally — no model option) questions about
|
|
105
114
|
`state`. `questions` is a non-empty OBJECT keyed by question id — never an
|