@ampcode/plugin 0.0.0-20261102001236-gf10f41a → 0.0.0-20261103001141-ga6248e3

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.
Files changed (2) hide show
  1. package/index.d.ts +14 -0
  2. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -399,6 +399,13 @@ declare module '@ampcode/plugin' {
399
399
  * prompt when `extends` is set. Required unless `extends` is set.
400
400
  */
401
401
  instructions?: string
402
+ /**
403
+ * Set true to use `instructions` verbatim as the entire system prompt, without Amp's
404
+ * base prompt, identity, environment, or workspace guidance. Defaults to false.
405
+ * Overrides the prompt inherited through `extends`, but not its model or tools.
406
+ * Tool definitions and conversation messages are unaffected.
407
+ */
408
+ omitDefaultSystemPrompt?: boolean
402
409
  /**
403
410
  * Tools available to this agent. Use 'all' for its provider-appropriate built-in tools
404
411
  * plus plugin, MCP, and remote tools available in its runtime.
@@ -2589,6 +2596,13 @@ declare module '@ampcode/plugin' {
2589
2596
  * for the built-in mode do not change its model.
2590
2597
  */
2591
2598
  extends?: 'low' | 'medium' | 'high' | 'ultra'
2599
+ /**
2600
+ * Set true to use `instructions.md` verbatim as the entire system prompt, without
2601
+ * Amp's base prompt, identity, environment, workspace, or MCP server guidance.
2602
+ * Defaults to false. Overrides the prompt inherited through `extends`, but not its
2603
+ * model or tools. Tool definitions and conversation messages are unaffected.
2604
+ */
2605
+ omitDefaultSystemPrompt?: boolean
2592
2606
  /**
2593
2607
  * Model identifier in `provider/model` format, such as `anthropic/claude-sonnet-4-6`.
2594
2608
  * Omit to use the default model, or the extended mode's model when `extends` is set.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampcode/plugin",
3
- "version": "0.0.0-20261102001236-gf10f41a",
3
+ "version": "0.0.0-20261103001141-ga6248e3",
4
4
  "description": "Amp Plugin API",
5
5
  "license": "Amp Commercial License",
6
6
  "homepage": "https://ampcode.com/docs/plugin-api",
@@ -30,9 +30,9 @@
30
30
  "sideEffects": false,
31
31
  "scripts": {
32
32
  "build": "tsgo -b",
33
- "format:check": "bun fmt --check index.d.ts",
33
+ "format:check": "bun fmt --check index.d.ts omni.d.ts",
34
34
  "test": "echo 'No tests'",
35
- "lint": "biome check --config-path=../.. index.d.ts",
35
+ "lint": "biome check --config-path=../.. index.d.ts omni.d.ts",
36
36
  "typecheck": "tsgo -b"
37
37
  },
38
38
  "devDependencies": {