@sourcegraph/amp-sdk 0.1.0-20260127121646-g65c888a → 0.1.0-20260127201014-gc571ac8
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 +1 -0
- package/dist/index.js +3 -6
- package/dist/types.d.ts +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -209,6 +209,7 @@ Available modes:
|
|
|
209
209
|
- **smart** (default): Balanced mode with full capabilities
|
|
210
210
|
- **rush**: Faster responses with streamlined tool usage
|
|
211
211
|
- **large**: 1M-token long-context workhorse
|
|
212
|
+
- **deep**: Extended reasoning for complex tasks
|
|
212
213
|
|
|
213
214
|
### Thread Labels
|
|
214
215
|
|
package/dist/index.js
CHANGED
|
@@ -4057,7 +4057,7 @@ var MCPServerSchema = exports_external.union([MCPStdioServerSchema, MCPHttpServe
|
|
|
4057
4057
|
var MCPConfigSchema = exports_external.record(exports_external.string(), MCPServerSchema).describe("MCP server configurations keyed by server name");
|
|
4058
4058
|
var AmpOptionsSchema = exports_external.object({
|
|
4059
4059
|
cwd: exports_external.string().describe("Current working directory").optional(),
|
|
4060
|
-
mode: exports_external.enum(["smart", "rush", "large"]).describe("Agent mode - controls the model, system prompt, and tool selection").default("smart").optional(),
|
|
4060
|
+
mode: exports_external.enum(["smart", "rush", "large", "deep"]).describe("Agent mode - controls the model, system prompt, and tool selection").default("smart").optional(),
|
|
4061
4061
|
dangerouslyAllowAll: exports_external.boolean().describe("Allow all tool usage without asking for permission").optional(),
|
|
4062
4062
|
visibility: exports_external.enum(["private", "public", "workspace", "group"]).describe("Visibility level for new threads").default("workspace").optional(),
|
|
4063
4063
|
settingsFile: exports_external.string().describe("Settings file path").optional(),
|
|
@@ -4169,9 +4169,6 @@ async function buildSettingsFile(options, sessionId) {
|
|
|
4169
4169
|
if (options.systemPrompt) {
|
|
4170
4170
|
mergedSettings["amp.systemPrompt"] = options.systemPrompt;
|
|
4171
4171
|
}
|
|
4172
|
-
if (options.mode === "large") {
|
|
4173
|
-
mergedSettings["amp.internal.visibleModes"] = (mergedSettings["amp.internal.visibleModes"] ?? []).concat("large");
|
|
4174
|
-
}
|
|
4175
4172
|
if (options.skills) {
|
|
4176
4173
|
mergedSettings["amp.skills.path"] = options.skills;
|
|
4177
4174
|
}
|
|
@@ -4197,7 +4194,7 @@ function buildEnvironmentVariables(options) {
|
|
|
4197
4194
|
if (options.env) {
|
|
4198
4195
|
Object.assign(env, options.env);
|
|
4199
4196
|
}
|
|
4200
|
-
env.AMP_SDK_VERSION = "0.1.0-
|
|
4197
|
+
env.AMP_SDK_VERSION = "0.1.0-20260127201014-gc571ac8";
|
|
4201
4198
|
return env;
|
|
4202
4199
|
}
|
|
4203
4200
|
function spawnAmpCli(args, options) {
|
|
@@ -4406,4 +4403,4 @@ export {
|
|
|
4406
4403
|
AmpOptionsSchema
|
|
4407
4404
|
};
|
|
4408
4405
|
|
|
4409
|
-
//# debugId=
|
|
4406
|
+
//# debugId=DF2F1477A18B6F1F64756E2164756E21
|
package/dist/types.d.ts
CHANGED
|
@@ -333,7 +333,7 @@ export type MCPConfig = z.infer<typeof MCPConfigSchema>;
|
|
|
333
333
|
/** Configuration options for Amp execution schema */
|
|
334
334
|
export declare const AmpOptionsSchema: z.ZodObject<{
|
|
335
335
|
cwd: z.ZodOptional<z.ZodString>;
|
|
336
|
-
mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["smart", "rush", "large"]>>>;
|
|
336
|
+
mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["smart", "rush", "large", "deep"]>>>;
|
|
337
337
|
dangerouslyAllowAll: z.ZodOptional<z.ZodBoolean>;
|
|
338
338
|
visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["private", "public", "workspace", "group"]>>>;
|
|
339
339
|
settingsFile: z.ZodOptional<z.ZodString>;
|
|
@@ -449,7 +449,7 @@ export declare const AmpOptionsSchema: z.ZodObject<{
|
|
|
449
449
|
}, "strict", z.ZodTypeAny, {
|
|
450
450
|
env?: Record<string, string> | undefined;
|
|
451
451
|
cwd?: string | undefined;
|
|
452
|
-
mode?: "smart" | "rush" | "large" | undefined;
|
|
452
|
+
mode?: "smart" | "rush" | "large" | "deep" | undefined;
|
|
453
453
|
dangerouslyAllowAll?: boolean | undefined;
|
|
454
454
|
visibility?: "private" | "public" | "workspace" | "group" | undefined;
|
|
455
455
|
settingsFile?: string | undefined;
|
|
@@ -490,7 +490,7 @@ export declare const AmpOptionsSchema: z.ZodObject<{
|
|
|
490
490
|
}, {
|
|
491
491
|
env?: Record<string, string> | undefined;
|
|
492
492
|
cwd?: string | undefined;
|
|
493
|
-
mode?: "smart" | "rush" | "large" | undefined;
|
|
493
|
+
mode?: "smart" | "rush" | "large" | "deep" | undefined;
|
|
494
494
|
dangerouslyAllowAll?: boolean | undefined;
|
|
495
495
|
visibility?: "private" | "public" | "workspace" | "group" | undefined;
|
|
496
496
|
settingsFile?: string | undefined;
|
package/package.json
CHANGED