@sourcegraph/amp-sdk 0.1.0-20260129122035-g9746f1e → 0.1.0-20260129201256-gdf283f3

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/README.md CHANGED
@@ -206,10 +206,10 @@ for await (const message of execute({
206
206
 
207
207
  Available modes:
208
208
 
209
- - **smart** (default): Balanced mode with full capabilities
210
- - **rush**: Faster responses with streamlined tool usage
211
- - **large**: 1M-token long-context workhorse
212
- - **deep**: Extended reasoning for complex tasks
209
+ - `smart` (default): Balanced mode with full capabilities
210
+ - `rush`: Faster responses with streamlined tool usage
211
+ - `large`: 1M-token long-context workhorse
212
+ - `deep`: Extended reasoning for complex tasks
213
213
 
214
214
  ### Thread Labels
215
215
 
@@ -229,6 +229,31 @@ for await (const message of execute({
229
229
  }
230
230
  ```
231
231
 
232
+ ### Thread Visibility
233
+
234
+ Control who can see threads created by `execute()`:
235
+
236
+ ```typescript
237
+ for await (const message of execute({
238
+ prompt: 'Analyze this private codebase',
239
+ options: {
240
+ visibility: 'private', // Only you can see this thread
241
+ },
242
+ })) {
243
+ if (message.type === 'result') {
244
+ console.log(message.result)
245
+ break
246
+ }
247
+ }
248
+ ```
249
+
250
+ Available visibility levels:
251
+
252
+ - `workspace` (default): Visible to all workspace members
253
+ - `private`: Only visible to you
254
+ - `public`: Visible to anyone with the link
255
+ - `group`: Visible to members of your user group (Enterprise)
256
+
232
257
  ### Tool Permissions
233
258
 
234
259
  Control which tools Amp can use with fine-grained permissions:
package/dist/index.js CHANGED
@@ -4194,7 +4194,7 @@ function buildEnvironmentVariables(options) {
4194
4194
  if (options.env) {
4195
4195
  Object.assign(env, options.env);
4196
4196
  }
4197
- env.AMP_SDK_VERSION = "0.1.0-20260129122035-g9746f1e";
4197
+ env.AMP_SDK_VERSION = "0.1.0-20260129201256-gdf283f3";
4198
4198
  return env;
4199
4199
  }
4200
4200
  function spawnAmpCli(args, options) {
@@ -4403,4 +4403,4 @@ export {
4403
4403
  AmpOptionsSchema
4404
4404
  };
4405
4405
 
4406
- //# debugId=EBE356EED1D44A1B64756E2164756E21
4406
+ //# debugId=C9545F9A59F8843D64756E2164756E21
package/package.json CHANGED
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "type": "module",
46
46
  "types": "dist/index.d.ts",
47
- "version": "0.1.0-20260129122035-g9746f1e",
47
+ "version": "0.1.0-20260129201256-gdf283f3",
48
48
  "scripts": {
49
49
  "build": "bun run scripts/build.ts",
50
50
  "dev": "pnpm exec tsc -b --watch",