@letta-ai/letta-code 0.34.40 → 0.34.42
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/model.d.ts +17 -2
- package/dist/types/agent/model.d.ts.map +1 -1
- package/dist/types/backend/api/usage-cost.d.ts +8 -0
- package/dist/types/backend/api/usage-cost.d.ts.map +1 -0
- package/dist/types/backend/backend.d.ts.map +1 -1
- package/dist/types/backend/dev/provider-turn-executor.d.ts +3 -2
- package/dist/types/backend/dev/provider-turn-executor.d.ts.map +1 -1
- package/dist/types/backend/local/compaction.d.ts +9 -1
- package/dist/types/backend/local/compaction.d.ts.map +1 -1
- package/dist/types/backend/local/local-backend.d.ts +1 -1
- package/dist/types/backend/local/local-backend.d.ts.map +1 -1
- package/dist/types/permissions/checker.d.ts.map +1 -1
- package/dist/types/permissions/cross-agent-guard.d.ts.map +1 -1
- package/dist/types/permissions/file-path-args.d.ts +5 -0
- package/dist/types/permissions/file-path-args.d.ts.map +1 -0
- package/dist/types/permissions/matcher.d.ts.map +1 -1
- package/dist/types/permissions/workspace-sandbox.d.ts.map +1 -1
- package/dist/types/telemetry/index.d.ts +3 -1
- package/dist/types/telemetry/index.d.ts.map +1 -1
- package/dist/types/telemetry/permission-mode.d.ts +9 -0
- package/dist/types/telemetry/permission-mode.d.ts.map +1 -0
- package/dist/types/tools/manager.d.ts.map +1 -1
- package/dist/types/tools/toolset-catalog.d.ts +1 -1
- package/dist/types/tools/workflow/sdk-spawner.d.ts.map +1 -1
- package/dist/types/types/approval-classification-protocol.d.ts +2 -0
- package/dist/types/types/approval-classification-protocol.d.ts.map +1 -1
- package/dist/types/types/protocol.d.ts +6 -1
- package/dist/types/types/protocol.d.ts.map +1 -1
- package/dist/types/usage/cost.d.ts +24 -0
- package/dist/types/usage/cost.d.ts.map +1 -0
- package/dist/types/utils/file-path.d.ts +1 -1
- package/dist/types/utils/file-path.d.ts.map +1 -1
- package/letta.js +1244 -916
- package/npm-shrinkwrap.json +94 -94
- package/package.json +2 -2
- package/scripts/check-test-coverage.cjs +1 -0
- package/scripts/run-unit-tests.cjs +1 -0
- package/scripts/source-file-size-baseline.json +2 -2
- package/skills/image-generation/SKILL.md +135 -5
- package/skills/working-across-computers/SKILL.md +20 -1
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.42",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"packages": {
|
|
6
6
|
"node_modules/@alcalzone/ansi-tokenize": {
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"node_modules/@aws-sdk/core": {
|
|
64
|
-
"version": "3.
|
|
65
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.
|
|
66
|
-
"integrity": "sha512-
|
|
64
|
+
"version": "3.980.0",
|
|
65
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.980.0.tgz",
|
|
66
|
+
"integrity": "sha512-2RVSP/SsPS8HSPPzIPWNYFnSmlOdxx8VDlt5gDOuMaq9UiIi35pUyo6ZEuJcysjVCu0L8Lv5dJevLLpEkyF0/Q==",
|
|
67
67
|
"license": "Apache-2.0",
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@aws-sdk/types": "^3.975.0",
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"node_modules/@aws-sdk/credential-provider-env": {
|
|
83
|
-
"version": "3.972.
|
|
84
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.
|
|
85
|
-
"integrity": "sha512-
|
|
83
|
+
"version": "3.972.81",
|
|
84
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.81.tgz",
|
|
85
|
+
"integrity": "sha512-VD+EVZ9UHNZhSm4KtakXZAPzgfOw4mRx66dAXNUtHcdJUisbsE7kpi1PRZFMquvuqVfx52fCDBgJgYyOFT/4hQ==",
|
|
86
86
|
"license": "Apache-2.0",
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@aws-sdk/core": "^3.
|
|
88
|
+
"@aws-sdk/core": "^3.980.0",
|
|
89
89
|
"@aws-sdk/types": "^3.975.0",
|
|
90
90
|
"@smithy/core": "^3.38.0",
|
|
91
91
|
"@smithy/types": "^4.19.0",
|
|
@@ -96,12 +96,12 @@
|
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"node_modules/@aws-sdk/credential-provider-http": {
|
|
99
|
-
"version": "3.972.
|
|
100
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.
|
|
101
|
-
"integrity": "sha512-
|
|
99
|
+
"version": "3.972.83",
|
|
100
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.83.tgz",
|
|
101
|
+
"integrity": "sha512-NsLT02HXcWAQAgpuDJznoJDPIDH/Hh2LiQVlYc+1bVGsksEUZuYCMKa1E1L5qvzc5LLTphp7BP9LYVIhf+MbQA==",
|
|
102
102
|
"license": "Apache-2.0",
|
|
103
103
|
"dependencies": {
|
|
104
|
-
"@aws-sdk/core": "^3.
|
|
104
|
+
"@aws-sdk/core": "^3.980.0",
|
|
105
105
|
"@aws-sdk/types": "^3.975.0",
|
|
106
106
|
"@smithy/core": "^3.38.0",
|
|
107
107
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
@@ -114,13 +114,13 @@
|
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
116
|
"node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler": {
|
|
117
|
-
"version": "4.14.
|
|
118
|
-
"resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.14.
|
|
119
|
-
"integrity": "sha512
|
|
117
|
+
"version": "4.14.2",
|
|
118
|
+
"resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.14.2.tgz",
|
|
119
|
+
"integrity": "sha512-i1uORV1v3qBqP43ayRKzIdm1q5x14tf8N4Dd06/QUX1Szm6VxHMrTsu20X5E63UFsaNZCRjI4SXG0jDmqYa+3w==",
|
|
120
120
|
"license": "Apache-2.0",
|
|
121
121
|
"dependencies": {
|
|
122
|
-
"@smithy/core": "^3.
|
|
123
|
-
"@smithy/types": "^4.
|
|
122
|
+
"@smithy/core": "^3.39.0",
|
|
123
|
+
"@smithy/types": "^4.20.0",
|
|
124
124
|
"tslib": "^2.6.2"
|
|
125
125
|
},
|
|
126
126
|
"engines": {
|
|
@@ -128,19 +128,19 @@
|
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
"node_modules/@aws-sdk/credential-provider-ini": {
|
|
131
|
-
"version": "3.973.
|
|
132
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.
|
|
133
|
-
"integrity": "sha512-
|
|
131
|
+
"version": "3.973.26",
|
|
132
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.26.tgz",
|
|
133
|
+
"integrity": "sha512-vRydnN8wPqh5APe5R+/y4/UOts7QQQQP1UTczJq3fLcLzkQblbkYpLn+Srr8w9S/gzXU1pbiPKTv479unRawAA==",
|
|
134
134
|
"license": "Apache-2.0",
|
|
135
135
|
"dependencies": {
|
|
136
|
-
"@aws-sdk/core": "^3.
|
|
137
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
138
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
139
|
-
"@aws-sdk/credential-provider-login": "^3.972.
|
|
140
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
141
|
-
"@aws-sdk/credential-provider-sso": "^3.973.
|
|
142
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
143
|
-
"@aws-sdk/nested-clients": "^3.
|
|
136
|
+
"@aws-sdk/core": "^3.980.0",
|
|
137
|
+
"@aws-sdk/credential-provider-env": "^3.972.81",
|
|
138
|
+
"@aws-sdk/credential-provider-http": "^3.972.83",
|
|
139
|
+
"@aws-sdk/credential-provider-login": "^3.972.88",
|
|
140
|
+
"@aws-sdk/credential-provider-process": "^3.972.81",
|
|
141
|
+
"@aws-sdk/credential-provider-sso": "^3.973.25",
|
|
142
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.87",
|
|
143
|
+
"@aws-sdk/nested-clients": "^3.998.0",
|
|
144
144
|
"@aws-sdk/types": "^3.975.0",
|
|
145
145
|
"@smithy/core": "^3.38.0",
|
|
146
146
|
"@smithy/credential-provider-imds": "^4.5.2",
|
|
@@ -152,13 +152,13 @@
|
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
154
|
"node_modules/@aws-sdk/credential-provider-login": {
|
|
155
|
-
"version": "3.972.
|
|
156
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.
|
|
157
|
-
"integrity": "sha512-
|
|
155
|
+
"version": "3.972.88",
|
|
156
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.88.tgz",
|
|
157
|
+
"integrity": "sha512-J8IcBpuFj3j3RImHq/dVO5HtnUbFgvzg7JQvzLt5A42VmzLLgPLM+CUWN68jpIMdIPayu1bb1T+mJjDv9Sq1aA==",
|
|
158
158
|
"license": "Apache-2.0",
|
|
159
159
|
"dependencies": {
|
|
160
|
-
"@aws-sdk/core": "^3.
|
|
161
|
-
"@aws-sdk/nested-clients": "^3.
|
|
160
|
+
"@aws-sdk/core": "^3.980.0",
|
|
161
|
+
"@aws-sdk/nested-clients": "^3.998.0",
|
|
162
162
|
"@aws-sdk/types": "^3.975.0",
|
|
163
163
|
"@smithy/core": "^3.38.0",
|
|
164
164
|
"@smithy/types": "^4.19.0",
|
|
@@ -169,17 +169,17 @@
|
|
|
169
169
|
}
|
|
170
170
|
},
|
|
171
171
|
"node_modules/@aws-sdk/credential-provider-node": {
|
|
172
|
-
"version": "3.972.
|
|
173
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.
|
|
174
|
-
"integrity": "sha512-
|
|
172
|
+
"version": "3.972.93",
|
|
173
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.93.tgz",
|
|
174
|
+
"integrity": "sha512-f5Grg1sgckk11ojxZ7NUYG1ZCOvcNhuuPngKWVxOKGuZokj8eOmo/75+GyR6qAQx4wAGytglZ53r4a3UPleAPQ==",
|
|
175
175
|
"license": "Apache-2.0",
|
|
176
176
|
"dependencies": {
|
|
177
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
178
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
179
|
-
"@aws-sdk/credential-provider-ini": "^3.973.
|
|
180
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
181
|
-
"@aws-sdk/credential-provider-sso": "^3.973.
|
|
182
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
177
|
+
"@aws-sdk/credential-provider-env": "^3.972.81",
|
|
178
|
+
"@aws-sdk/credential-provider-http": "^3.972.83",
|
|
179
|
+
"@aws-sdk/credential-provider-ini": "^3.973.26",
|
|
180
|
+
"@aws-sdk/credential-provider-process": "^3.972.81",
|
|
181
|
+
"@aws-sdk/credential-provider-sso": "^3.973.25",
|
|
182
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.87",
|
|
183
183
|
"@aws-sdk/types": "^3.975.0",
|
|
184
184
|
"@smithy/core": "^3.38.0",
|
|
185
185
|
"@smithy/credential-provider-imds": "^4.5.2",
|
|
@@ -191,12 +191,12 @@
|
|
|
191
191
|
}
|
|
192
192
|
},
|
|
193
193
|
"node_modules/@aws-sdk/credential-provider-process": {
|
|
194
|
-
"version": "3.972.
|
|
195
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.
|
|
196
|
-
"integrity": "sha512-
|
|
194
|
+
"version": "3.972.81",
|
|
195
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.81.tgz",
|
|
196
|
+
"integrity": "sha512-6NBoFaNJbHB0YjcKW4WfrYIDmaMjtwbxlRreAf3MnXkD9WJX8XYu62pa78M0AQGgEt2TJmcNxqL3btAAjV67bA==",
|
|
197
197
|
"license": "Apache-2.0",
|
|
198
198
|
"dependencies": {
|
|
199
|
-
"@aws-sdk/core": "^3.
|
|
199
|
+
"@aws-sdk/core": "^3.980.0",
|
|
200
200
|
"@aws-sdk/types": "^3.975.0",
|
|
201
201
|
"@smithy/core": "^3.38.0",
|
|
202
202
|
"@smithy/types": "^4.19.0",
|
|
@@ -207,14 +207,14 @@
|
|
|
207
207
|
}
|
|
208
208
|
},
|
|
209
209
|
"node_modules/@aws-sdk/credential-provider-sso": {
|
|
210
|
-
"version": "3.973.
|
|
211
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.
|
|
212
|
-
"integrity": "sha512-
|
|
210
|
+
"version": "3.973.25",
|
|
211
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.25.tgz",
|
|
212
|
+
"integrity": "sha512-p1fNaa3as6S2L0wrWqe1cEz1r4iGQa7GbW23KJE3rJy+ZZxhPr6pr9cyCAJ7fAnzoMELvQGZZAuv/rG1ogRuOQ==",
|
|
213
213
|
"license": "Apache-2.0",
|
|
214
214
|
"dependencies": {
|
|
215
|
-
"@aws-sdk/core": "^3.
|
|
216
|
-
"@aws-sdk/nested-clients": "^3.
|
|
217
|
-
"@aws-sdk/token-providers": "3.
|
|
215
|
+
"@aws-sdk/core": "^3.980.0",
|
|
216
|
+
"@aws-sdk/nested-clients": "^3.998.0",
|
|
217
|
+
"@aws-sdk/token-providers": "3.1162.0",
|
|
218
218
|
"@aws-sdk/types": "^3.975.0",
|
|
219
219
|
"@smithy/core": "^3.38.0",
|
|
220
220
|
"@smithy/types": "^4.19.0",
|
|
@@ -225,13 +225,13 @@
|
|
|
225
225
|
}
|
|
226
226
|
},
|
|
227
227
|
"node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers": {
|
|
228
|
-
"version": "3.
|
|
229
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.
|
|
230
|
-
"integrity": "sha512-
|
|
228
|
+
"version": "3.1162.0",
|
|
229
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1162.0.tgz",
|
|
230
|
+
"integrity": "sha512-vOD6Ac0M43LtXaPu+/+wUMQCd27zIpKt/Le/a645qhx7T1MZeEK71PDhtIHGHgnQjGyNSfC6Z5RNud/hQb3veg==",
|
|
231
231
|
"license": "Apache-2.0",
|
|
232
232
|
"dependencies": {
|
|
233
|
-
"@aws-sdk/core": "^3.
|
|
234
|
-
"@aws-sdk/nested-clients": "^3.
|
|
233
|
+
"@aws-sdk/core": "^3.980.0",
|
|
234
|
+
"@aws-sdk/nested-clients": "^3.998.0",
|
|
235
235
|
"@aws-sdk/types": "^3.975.0",
|
|
236
236
|
"@smithy/core": "^3.38.0",
|
|
237
237
|
"@smithy/types": "^4.19.0",
|
|
@@ -242,13 +242,13 @@
|
|
|
242
242
|
}
|
|
243
243
|
},
|
|
244
244
|
"node_modules/@aws-sdk/credential-provider-web-identity": {
|
|
245
|
-
"version": "3.972.
|
|
246
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.
|
|
247
|
-
"integrity": "sha512-
|
|
245
|
+
"version": "3.972.87",
|
|
246
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.87.tgz",
|
|
247
|
+
"integrity": "sha512-O2P6CUfMP2qi8vgYB6UHYj/NYTEAAdTr2geEVdVchr3JBofK4Q6W917FiVr2sleA72R59YAXMEhrpzPwkX/xdA==",
|
|
248
248
|
"license": "Apache-2.0",
|
|
249
249
|
"dependencies": {
|
|
250
|
-
"@aws-sdk/core": "^3.
|
|
251
|
-
"@aws-sdk/nested-clients": "^3.
|
|
250
|
+
"@aws-sdk/core": "^3.980.0",
|
|
251
|
+
"@aws-sdk/nested-clients": "^3.998.0",
|
|
252
252
|
"@aws-sdk/types": "^3.975.0",
|
|
253
253
|
"@smithy/core": "^3.38.0",
|
|
254
254
|
"@smithy/types": "^4.19.0",
|
|
@@ -289,12 +289,12 @@
|
|
|
289
289
|
}
|
|
290
290
|
},
|
|
291
291
|
"node_modules/@aws-sdk/middleware-websocket": {
|
|
292
|
-
"version": "3.972.
|
|
293
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-websocket/-/middleware-websocket-3.972.
|
|
294
|
-
"integrity": "sha512-
|
|
292
|
+
"version": "3.972.63",
|
|
293
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/middleware-websocket/-/middleware-websocket-3.972.63.tgz",
|
|
294
|
+
"integrity": "sha512-fgY5UA9oeQYwxR5MyhIHUs9wGrXJGXLK71MQck1z3ArEb/GvQ0TmZm/RPs+cIbcaoKtIGqMb2u8AZ1rGFKYzKg==",
|
|
295
295
|
"license": "Apache-2.0",
|
|
296
296
|
"dependencies": {
|
|
297
|
-
"@aws-sdk/core": "^3.
|
|
297
|
+
"@aws-sdk/core": "^3.980.0",
|
|
298
298
|
"@aws-sdk/types": "^3.975.0",
|
|
299
299
|
"@smithy/core": "^3.38.0",
|
|
300
300
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
@@ -307,12 +307,12 @@
|
|
|
307
307
|
}
|
|
308
308
|
},
|
|
309
309
|
"node_modules/@aws-sdk/nested-clients": {
|
|
310
|
-
"version": "3.
|
|
311
|
-
"resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.
|
|
312
|
-
"integrity": "sha512
|
|
310
|
+
"version": "3.998.0",
|
|
311
|
+
"resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.998.0.tgz",
|
|
312
|
+
"integrity": "sha512-aOD1oQVWG6UjOOEdp0MsrWE93vG8pPbvtymmeNtglGxAARplh1wzhHs4npqtY5JN5GBSrTaLbn1hQQ3W2Lk8ow==",
|
|
313
313
|
"license": "Apache-2.0",
|
|
314
314
|
"dependencies": {
|
|
315
|
-
"@aws-sdk/core": "^3.
|
|
315
|
+
"@aws-sdk/core": "^3.980.0",
|
|
316
316
|
"@aws-sdk/signature-v4-multi-region": "^3.996.51",
|
|
317
317
|
"@aws-sdk/types": "^3.975.0",
|
|
318
318
|
"@smithy/core": "^3.38.0",
|
|
@@ -326,13 +326,13 @@
|
|
|
326
326
|
}
|
|
327
327
|
},
|
|
328
328
|
"node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler": {
|
|
329
|
-
"version": "4.14.
|
|
330
|
-
"resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.14.
|
|
331
|
-
"integrity": "sha512
|
|
329
|
+
"version": "4.14.2",
|
|
330
|
+
"resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.14.2.tgz",
|
|
331
|
+
"integrity": "sha512-i1uORV1v3qBqP43ayRKzIdm1q5x14tf8N4Dd06/QUX1Szm6VxHMrTsu20X5E63UFsaNZCRjI4SXG0jDmqYa+3w==",
|
|
332
332
|
"license": "Apache-2.0",
|
|
333
333
|
"dependencies": {
|
|
334
|
-
"@smithy/core": "^3.
|
|
335
|
-
"@smithy/types": "^4.
|
|
334
|
+
"@smithy/core": "^3.39.0",
|
|
335
|
+
"@smithy/types": "^4.20.0",
|
|
336
336
|
"tslib": "^2.6.2"
|
|
337
337
|
},
|
|
338
338
|
"engines": {
|
|
@@ -407,9 +407,9 @@
|
|
|
407
407
|
}
|
|
408
408
|
},
|
|
409
409
|
"node_modules/@babel/runtime": {
|
|
410
|
-
"version": "7.29.
|
|
411
|
-
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.
|
|
412
|
-
"integrity": "sha512-
|
|
410
|
+
"version": "7.29.13",
|
|
411
|
+
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.13.tgz",
|
|
412
|
+
"integrity": "sha512-v+oN26xP4YIlQsbQ/CbTH1WG5m/l/DjKKZNy/Kp3f/AFvbgt7Em/D0FeMM3O2hX0YzeN2M16W8lOpyhIkfCBcQ==",
|
|
413
413
|
"license": "MIT",
|
|
414
414
|
"engines": {
|
|
415
415
|
"node": ">=6.9.0"
|
|
@@ -2245,12 +2245,12 @@
|
|
|
2245
2245
|
"license": "MIT"
|
|
2246
2246
|
},
|
|
2247
2247
|
"node_modules/@smithy/core": {
|
|
2248
|
-
"version": "3.
|
|
2249
|
-
"resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.
|
|
2250
|
-
"integrity": "sha512-
|
|
2248
|
+
"version": "3.39.0",
|
|
2249
|
+
"resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.39.0.tgz",
|
|
2250
|
+
"integrity": "sha512-JJ/46AWQ4ipS1N2eZmUj7yzIhH8NhQIfAE+dce7NSB6dmFh+7hvD4pbofcoT4I0Xzfy/LNhZx3V2QhwYyAiqdg==",
|
|
2251
2251
|
"license": "Apache-2.0",
|
|
2252
2252
|
"dependencies": {
|
|
2253
|
-
"@smithy/types": "^4.
|
|
2253
|
+
"@smithy/types": "^4.20.0",
|
|
2254
2254
|
"tslib": "^2.6.2"
|
|
2255
2255
|
},
|
|
2256
2256
|
"engines": {
|
|
@@ -2272,13 +2272,13 @@
|
|
|
2272
2272
|
}
|
|
2273
2273
|
},
|
|
2274
2274
|
"node_modules/@smithy/fetch-http-handler": {
|
|
2275
|
-
"version": "5.8.
|
|
2276
|
-
"resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.8.
|
|
2277
|
-
"integrity": "sha512-
|
|
2275
|
+
"version": "5.8.1",
|
|
2276
|
+
"resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.8.1.tgz",
|
|
2277
|
+
"integrity": "sha512-h8BdMUrUBhMhMaeK7QqAdINRZezCGuYOCpcOZZ1ewxbHST9rdTd09xwNpvLTYfzDRehxQiReK4SKbdYZxBA+ew==",
|
|
2278
2278
|
"license": "Apache-2.0",
|
|
2279
2279
|
"dependencies": {
|
|
2280
|
-
"@smithy/core": "^3.
|
|
2281
|
-
"@smithy/types": "^4.
|
|
2280
|
+
"@smithy/core": "^3.39.0",
|
|
2281
|
+
"@smithy/types": "^4.20.0",
|
|
2282
2282
|
"tslib": "^2.6.2"
|
|
2283
2283
|
},
|
|
2284
2284
|
"engines": {
|
|
@@ -2314,9 +2314,9 @@
|
|
|
2314
2314
|
}
|
|
2315
2315
|
},
|
|
2316
2316
|
"node_modules/@smithy/types": {
|
|
2317
|
-
"version": "4.
|
|
2318
|
-
"resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.
|
|
2319
|
-
"integrity": "sha512-
|
|
2317
|
+
"version": "4.20.0",
|
|
2318
|
+
"resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.20.0.tgz",
|
|
2319
|
+
"integrity": "sha512-lCA6QG22dPk9ecHbv91jDQZsmtPUjdS1aE2Il6NNPqe7DrYc0dZQi6DhcESk2KYXH2sp5xbAcGdYMZDFnuzA2A==",
|
|
2320
2320
|
"license": "Apache-2.0",
|
|
2321
2321
|
"dependencies": {
|
|
2322
2322
|
"tslib": "^2.6.2"
|
|
@@ -3595,9 +3595,9 @@
|
|
|
3595
3595
|
}
|
|
3596
3596
|
},
|
|
3597
3597
|
"node_modules/glob": {
|
|
3598
|
-
"version": "13.0.
|
|
3599
|
-
"resolved": "https://registry.npmjs.org/glob/-/glob-13.0.
|
|
3600
|
-
"integrity": "sha512-
|
|
3598
|
+
"version": "13.0.7",
|
|
3599
|
+
"resolved": "https://registry.npmjs.org/glob/-/glob-13.0.7.tgz",
|
|
3600
|
+
"integrity": "sha512-wfsFgXQ8A3SEI9XGf7Nl3Y9l7ffSrGh7SUCT7vU/2CzYPep9kjxAn1S40F9OPKxAMGCVl7HtNlJhrCJUeUq83g==",
|
|
3601
3601
|
"license": "BlueOak-1.0.0",
|
|
3602
3602
|
"dependencies": {
|
|
3603
3603
|
"minimatch": "^10.2.2",
|
|
@@ -5656,7 +5656,7 @@
|
|
|
5656
5656
|
},
|
|
5657
5657
|
"": {
|
|
5658
5658
|
"name": "@letta-ai/letta-code",
|
|
5659
|
-
"version": "0.34.
|
|
5659
|
+
"version": "0.34.42",
|
|
5660
5660
|
"dependencies": {
|
|
5661
5661
|
"@cursor/sdk": "1.1.0",
|
|
5662
5662
|
"@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.42",
|
|
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.",
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
},
|
|
279
279
|
"lettaLifecycleProtocol": 1,
|
|
280
280
|
"lettaRuntimeGraphProtocol": 1,
|
|
281
|
-
"lettaRuntimeGraphSha512": "sha512-
|
|
281
|
+
"lettaRuntimeGraphSha512": "sha512-as/Tt/szwM5xbE6Ed+71tbFySlLxLNVCv+4uzwp7mhDTJsWMNeNtnlB+GCMMJmpIcmz6XVDriHNDctZ63hgj+Q==",
|
|
282
282
|
"patchedDependencies": {
|
|
283
283
|
"@earendil-works/pi-ai@0.99.1": "patches/@earendil-works%2Fpi-ai@0.99.1.patch"
|
|
284
284
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"src/cli/app/AppCoordinator.tsx": 5131,
|
|
8
8
|
"src/cli/app/AppView.tsx": 1732,
|
|
9
9
|
"src/cli/app/use-approval-flow.ts": 1099,
|
|
10
|
-
"src/cli/app/use-configuration-handlers.ts":
|
|
10
|
+
"src/cli/app/use-configuration-handlers.ts": 1400,
|
|
11
11
|
"src/cli/app/use-conversation-loop.ts": 2849,
|
|
12
12
|
"src/cli/app/use-submit-handler.ts": 3791,
|
|
13
13
|
"src/cli/components/AgentSelector.tsx": 1104,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"src/cli/subcommands/skills.ts": 1243,
|
|
23
23
|
"src/headless.ts": 4827,
|
|
24
24
|
"src/hooks/integration.test.ts": 1147,
|
|
25
|
-
"src/index.ts":
|
|
25
|
+
"src/index.ts": 2543,
|
|
26
26
|
"src/mods/learning-harness.ts": 2434,
|
|
27
27
|
"src/mods/mod-engine.test.ts": 2153,
|
|
28
28
|
"src/mods/mod-engine.ts": 1836,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: image-generation
|
|
3
|
-
description: Generate images from text prompts (and optionally edit/remix input images). Use when the user asks to create, generate, draw, render, or edit an image, illustration, logo, icon, diagram, or
|
|
3
|
+
description: Generate images from text prompts (and optionally edit/remix input images). Use when the user asks to create, generate, draw, render, or edit an image, illustration, logo, icon, diagram, slide, photo, animated GIF, or SVG.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Image Generation
|
|
@@ -76,20 +76,26 @@ read `billing.credits_charged` from the saved response.
|
|
|
76
76
|
| `model` | string | Optional; defaults per provider (below). |
|
|
77
77
|
| `n` | int 1–4 | Optional, default 1. Request variations in one call. |
|
|
78
78
|
| `size` | string | Optional, e.g. `"1024x1024"` (OpenAI). |
|
|
79
|
-
| `quality` | `low`\|`medium`\|`high`\|`auto` | Optional (OpenAI; higher = more credits). |
|
|
80
|
-
| `
|
|
79
|
+
| `quality` | `low`\|`medium`\|`high`\|`xhigh`\|`max`\|`auto` | Optional (OpenAI; higher = more credits; `xhigh`/`max` need GPT Image 2.6). |
|
|
80
|
+
| `background` | `auto`\|`opaque`\|`transparent` | Optional (OpenAI). Transparent works with png, webp and svg. |
|
|
81
|
+
| `complexity` | `low`\|`medium`\|`high` | Optional (OpenAI GPT Image 2.6). How much the model plans before rendering; defaults to `high`. |
|
|
82
|
+
| `output_format` | `png`\|`jpeg`\|`webp`\|`gif`\|`svg` | Optional (OpenAI). `gif` and `svg` need GPT Image 2.6; see below. |
|
|
83
|
+
| `frame_count` / `frame_duration_ms` | int 2–16 / int 20–2000 | Optional, `gif` only. Defaults 9 frames, 200 ms. |
|
|
84
|
+
| `svg` | `{ "model"?, "reasoning"?: { "effort" } }` | Optional, `svg` only. Model that writes the SVG: `gpt-6.1-terra` (default), `gpt-6.1-sol`, `gpt-6-luna` or `gpt-6-astra`. |
|
|
81
85
|
| `input_images` | string[] (max 14) | Optional. Base64 **data URLs** for edit/remix. |
|
|
86
|
+
| `markup_image` | string | Optional (OpenAI edits). Base64 data URL of a transparent annotation layer marking where to change the first input image. |
|
|
82
87
|
| `seed` | int | Optional. |
|
|
83
88
|
|
|
84
89
|
| Provider | Default model | Use for |
|
|
85
90
|
|----------|---------------|---------|
|
|
86
91
|
| `flux` | `flux-2-pro` | Default for normal text-to-image. High-quality general image generation; commonly returns signed URLs. |
|
|
87
92
|
| `gemini` | `gemini-3-pro-image` | Strong prompt adherence, image editing/remix. |
|
|
88
|
-
| `openai` | `gpt-image-2` | Photoreal output, explicit `size`/`quality
|
|
93
|
+
| `openai` | `gpt-image-2.6-flare` | Photoreal output, explicit `size`/`quality`, animated GIFs, SVG vectors, markup-guided edits. Use `gpt-image-2.6-sunburst` for detailed work and consistency across edits. |
|
|
89
94
|
|
|
90
95
|
Default to `flux` for normal text-to-image requests. Use `gemini` when the user
|
|
91
96
|
provides input images or wants image editing/remix. Use `openai` when the user
|
|
92
|
-
wants photoreal output
|
|
97
|
+
wants photoreal output, a specific size/quality, an animated GIF, an SVG, or an
|
|
98
|
+
edit guided by a marked-up region.
|
|
93
99
|
|
|
94
100
|
## Response
|
|
95
101
|
|
|
@@ -117,6 +123,130 @@ multi-image edits well. To build a data URL from a local file:
|
|
|
117
123
|
DATA_URL="data:image/png;base64,$(base64 < input.png | tr -d '\n')"
|
|
118
124
|
```
|
|
119
125
|
|
|
126
|
+
## Prompting (applies to every provider)
|
|
127
|
+
|
|
128
|
+
Write the prompt like a brief for the image you need, then inspect the result
|
|
129
|
+
and refine one thing at a time.
|
|
130
|
+
|
|
131
|
+
1. **Define the result.** Name the subject and the intended use (product photo,
|
|
132
|
+
ad, diagram, slide, logo, UI mockup). Give composition, aspect ratio and
|
|
133
|
+
placement constraints. For complex requests, use labeled sections: scene,
|
|
134
|
+
subject, details, constraints.
|
|
135
|
+
2. **Describe what's visible.** Materials, lighting, colors, medium, framing,
|
|
136
|
+
texture. Say "photorealistic" or "real photograph" when that's the goal.
|
|
137
|
+
Camera terms ("35mm film, 50mm lens, shallow depth of field") are appearance
|
|
138
|
+
cues. For moody scenes, give scale, atmosphere and color, not just mood words.
|
|
139
|
+
3. **Specify people and actions.** Body framing, scale, gaze and interaction:
|
|
140
|
+
"full body visible, feet included", "looking down at the open book".
|
|
141
|
+
4. **Exact text goes in quotes**, with position, typography and how many times
|
|
142
|
+
it should appear ("render the tagline exactly once"). Spell unusual names
|
|
143
|
+
letter by letter. Ask for "no extra text, no watermarks, no unrelated logos",
|
|
144
|
+
then check spelling in the output. Use `quality: "high"` for small text,
|
|
145
|
+
legends, axes, dense labels or slides.
|
|
146
|
+
5. **Slides, charts and diagrams** are artifact specs, not illustrations: name
|
|
147
|
+
the deliverable, canvas and hierarchy, include the real numbers and labels,
|
|
148
|
+
and ask for readable type, clean spacing and no decorative clutter. Use a
|
|
149
|
+
landscape size (`1536x1024`, or `1536x864` for 16:9). Check every number the
|
|
150
|
+
model renders; it may invent extras. For educational visuals, state the
|
|
151
|
+
audience and lesson goal and list required and forbidden components.
|
|
152
|
+
6. **UI previews**: describe the product as if it already ships (layout,
|
|
153
|
+
hierarchy, real interface elements), not as concept art.
|
|
154
|
+
7. **Comics and storyboards**: one concrete, action-focused visual beat per panel.
|
|
155
|
+
8. **Logos**: brand, defining shapes, "strong silhouette, reads at small and
|
|
156
|
+
large sizes, flat, minimal strokes", "original, non-infringing".
|
|
157
|
+
9. **Edits: separate the change from what must stay.** "Change only X", then
|
|
158
|
+
list what to preserve (identity, face, pose, geometry, layout, lighting,
|
|
159
|
+
labels, camera angle) and what to exclude. Repeat the preserve list on every
|
|
160
|
+
follow-up edit.
|
|
161
|
+
10. **Give each reference image a role by number**: "image 1 is the scene,
|
|
162
|
+
image 2 is the dog; put the dog on the sofa in image 1, keep everything else
|
|
163
|
+
unchanged". For style references, say which part to borrow (palette,
|
|
164
|
+
texture, medium) and describe the new subject separately.
|
|
165
|
+
11. **Iterate deliberately.** Feed the previous output back as the next
|
|
166
|
+
`input_images[0]`, ask for one change, and restate the critical constraints.
|
|
167
|
+
For a recurring character, generate a character reference first, then reuse
|
|
168
|
+
it and repeat the defining details in every scene.
|
|
169
|
+
|
|
170
|
+
## OpenAI GPT Image 2.6
|
|
171
|
+
|
|
172
|
+
The default OpenAI model is `gpt-image-2.6-flare`, the faster one and fine for
|
|
173
|
+
most work. Use `gpt-image-2.6-sunburst` when detail, dense layout or edit
|
|
174
|
+
accuracy matters; it keeps characters and products more consistent across
|
|
175
|
+
edits.
|
|
176
|
+
|
|
177
|
+
- **`quality`** controls rendering detail (texture, small lettering): `low`,
|
|
178
|
+
`medium`, `high`, and on 2.6 also `xhigh` and `max`. Higher costs more.
|
|
179
|
+
- **`complexity`** controls how much the model plans the scene before
|
|
180
|
+
rendering: `low`, `medium` or `high` (OpenAI's default when omitted). Keep the
|
|
181
|
+
default for open-ended prompts and complex layouts, where more planning gives
|
|
182
|
+
a better composition. Use `low` for a targeted edit or a fully specified
|
|
183
|
+
design, where more planning adds latency and can introduce unwanted changes.
|
|
184
|
+
Change quality or complexity, not both at once.
|
|
185
|
+
- **`size`**: `1024x1024`, `1536x1024`, `1024x1536`, or custom with both sides
|
|
186
|
+
multiples of 16 and an aspect ratio between 1:3 and 3:1.
|
|
187
|
+
- **`background`**: `"transparent"` for cutouts and logos (PNG, WebP or SVG).
|
|
188
|
+
Also say "isolated subject, fully transparent background, clean alpha edges,
|
|
189
|
+
no checkerboard" in the prompt, since a drawn checkerboard is not
|
|
190
|
+
transparency. Repeat it on follow-up edits.
|
|
191
|
+
|
|
192
|
+
### Animated GIF
|
|
193
|
+
|
|
194
|
+
Set `"output_format": "gif"` (generations or edits). Optional `frame_count`
|
|
195
|
+
(2–16, default 9) and `frame_duration_ms` (20–2000, default 200); 9 frames at
|
|
196
|
+
200 ms is a 1.8 s loop. Leave `size` unset or use a small size like
|
|
197
|
+
`"512x512"`: all frames must fit the model's pixel limit, so a large size with
|
|
198
|
+
many frames is rejected. If that happens, reduce the frame count or size.
|
|
199
|
+
|
|
200
|
+
For a smooth loop, give the subject a starting pose to return to and say
|
|
201
|
+
whether the camera moves:
|
|
202
|
+
|
|
203
|
+
> A little monkey in an olive-green hooded coat stands in a snowy pine forest
|
|
204
|
+
> at dusk. It holds a glowing amber lantern at chest height, slowly lifts it,
|
|
205
|
+
> looks up and blinks, then lowers it back to its starting pose. Keep the
|
|
206
|
+
> lantern in its hands and the camera still. Make the motion loop smoothly.
|
|
207
|
+
|
|
208
|
+
To animate a still (a sketch, mascot or product shot), pass it in
|
|
209
|
+
`input_images`. Save the decoded `b64_json` bytes as `.gif`.
|
|
210
|
+
|
|
211
|
+
### SVG
|
|
212
|
+
|
|
213
|
+
Set `"output_format": "svg"` with `n: 1`, generations only (no
|
|
214
|
+
`input_images`). Use it for logos, icons and illustrations someone will scale
|
|
215
|
+
or recolor. The image model renders a reference image (`quality` applies to
|
|
216
|
+
it) and a second model writes the SVG from it. `"svg": { "model": "..." }`
|
|
217
|
+
picks that model (`gpt-6.1-terra` by default, or `gpt-6.1-sol`, `gpt-6-luna`,
|
|
218
|
+
`gpt-6-astra`), and `"svg": { "reasoning": { "effort": "high" } }` sets its
|
|
219
|
+
effort. SVG costs more than a raster image. `background: "transparent"` works.
|
|
220
|
+
Decode `b64_json` to UTF-8 XML and save it as `.svg`; the result is static
|
|
221
|
+
vector art with no scripts or embedded rasters.
|
|
222
|
+
|
|
223
|
+
### Markup-guided edits
|
|
224
|
+
|
|
225
|
+
Point at the exact region to change instead of describing it. Pass the photo as
|
|
226
|
+
`input_images[0]` and, as `markup_image` (a data URL), a transparent PNG with
|
|
227
|
+
the **same pixel dimensions** where the region is circled or marked. Then state
|
|
228
|
+
the change in `prompt` ("Make the circled vase cobalt blue; keep the dried
|
|
229
|
+
stems and everything else unchanged"). Markup applies only to the first input
|
|
230
|
+
image; other `input_images` are references. Build the overlay locally:
|
|
231
|
+
|
|
232
|
+
```bash
|
|
233
|
+
python3 -c '
|
|
234
|
+
from PIL import Image, ImageDraw
|
|
235
|
+
src = Image.open("photo.png")
|
|
236
|
+
overlay = Image.new("RGBA", src.size, (0, 0, 0, 0))
|
|
237
|
+
ImageDraw.Draw(overlay).ellipse((420, 260, 640, 560), outline=(255, 0, 0, 255), width=8)
|
|
238
|
+
overlay.save("markup.png")
|
|
239
|
+
'
|
|
240
|
+
MARKUP_URL="data:image/png;base64,$(base64 < markup.png | tr -d '\n')"
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
Compare the edit with the original to catch changes outside the marked region.
|
|
244
|
+
|
|
245
|
+
For limits not covered here, see OpenAI's
|
|
246
|
+
[GPT Image 2.6 section of the image generation guide](https://developers.openai.com/api/docs/guides/image-generation#gpt-image-26)
|
|
247
|
+
and the [image prompting guide](https://developers.openai.com/api/docs/guides/image-prompting),
|
|
248
|
+
which has worked prompts for each technique above.
|
|
249
|
+
|
|
120
250
|
## Notes
|
|
121
251
|
|
|
122
252
|
- **Billing**: every success charges credits; don't loop needlessly.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: working-across-computers
|
|
3
|
-
description: Guides work across Cloud, local, and other available computers, including teleporting conversations, running remote subagents, and
|
|
3
|
+
description: Guides work across Cloud, local, and other available computers, including teleporting conversations, running remote subagents, transferring files, and publishing an app from a managed Cloud sandbox. Load when a request needs the user's laptop or another machine's files, apps, or tools; when connecting a computer; when exposing an app running in a managed sandbox at a public URL; or when moving or delegating work between local and Cloud in either direction, including running Cloud subagents from local.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Working Across Computers
|
|
@@ -20,6 +20,7 @@ The current filesystem is not the full set of computers you can use. When a requ
|
|
|
20
20
|
| Run work elsewhere while staying here | `Agent` |
|
|
21
21
|
| Bring a remote file into a Cloud conversation | Remote agent: `sandbox upload` |
|
|
22
22
|
| Put a Cloud file onto another computer | Remote agent: `sandbox download` |
|
|
23
|
+
| Publish an app running in this managed Cloud sandbox | `sandbox expose` |
|
|
23
24
|
| Continue this conversation elsewhere | `teleport` |
|
|
24
25
|
|
|
25
26
|
Conversation history and agent memory follow the conversation. Files, working directories, installed tools, credentials, and running services belong to each computer; teleporting does not copy the workspace.
|
|
@@ -91,6 +92,24 @@ letta sandbox download <sandbox-path> --agent <agent-id> --to <local-path>
|
|
|
91
92
|
- Transfer files directly, not as base64 or file contents through model messages. Return the path and destination IDs; verify received contents or checksums.
|
|
92
93
|
- These commands transfer files to/from Cloud sandboxes, not arbitrary remote filesystems. No sandbox ID or separate wake command is needed.
|
|
93
94
|
|
|
95
|
+
## Publish an app from a managed Cloud sandbox
|
|
96
|
+
|
|
97
|
+
After starting an HTTP, WebSocket, or SSE app on a sandbox port, expose it at a public Letta URL:
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
letta sandbox expose <port> --expires-in <duration>
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Choose the lifetime explicitly with a whole-second, minute, or hour duration such as `30m`, `2h`, or `24h`. The supported range is 1 minute through 24 hours; there is no implicit default. This command works only inside the managed Cloud sandbox that owns the app. It does not accept `--agent` or `--conversation`; run it in the same sandbox as the service. The JSON result contains `{ url, port, expiresAt }`. Anyone holding the URL can access the app until the exact `expiresAt`, so share it only where the user requested.
|
|
104
|
+
|
|
105
|
+
To add time to the same URL and port, extend the active exposure before it expires:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
letta sandbox expose <port> --extend-by <duration>
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Extension adds to the current deadline, preserves the bearer URL, and fails if there is no active exposure or the port changed. The resulting remaining lifetime cannot exceed 24 hours. Use `--expires-in` instead when intentionally resetting the remaining lifetime from now; never pass both expiry flags.
|
|
112
|
+
|
|
94
113
|
## Share a live view of a Cloud sandbox desktop
|
|
95
114
|
|
|
96
115
|
When someone outside chat (Slack, email, a teammate) needs to watch or drive the sandbox desktop, mint a viewer link:
|