shortcutxl 0.2.29 → 0.2.31
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/CHANGELOG.md +7 -1
- package/agent-docs/README.md +0 -12
- package/agent-docs/docs/extensions.md +0 -6
- package/agent-docs/docs/sdk.md +4 -5
- package/agent-docs/examples/extensions/subagent/index.ts +0 -1
- package/agent-docs/examples/sdk/README.md +2 -3
- package/dist/cli.js +1088 -1015
- package/dist/core/export-html/template.js +16 -10
- package/dist/custom/new-sheet/api-reference.json +5089 -665
- package/docs/dist/index.html +3 -16
- package/docs/dist/shortcutxl-docs.pdf +0 -0
- package/package.json +11 -10
- package/skills/advanced-mog-api/api-reference.json +5089 -665
- package/skills/autonomous/SKILL.md +101 -0
- package/skills/loop/SKILL.md +86 -0
- package/skills/mcp/SKILL.md +10 -0
- package/skills/notes-comments/SKILL.md +23 -0
- package/xll/ShortcutXL.xll +0 -0
- package/xll/python/Lib/site-packages/httpx-0.28.1.dist-info/RECORD +1 -1
- package/xll/python/Lib/site-packages/pip-26.0.1.dist-info/RECORD +3 -3
- package/xll/python/Scripts/httpx.exe +0 -0
- package/xll/python/Scripts/pip.exe +0 -0
- package/xll/python/Scripts/pip3.12.exe +0 -0
- package/xll/python/Scripts/pip3.exe +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.2.
|
|
3
|
+
## [0.2.31]
|
|
4
|
+
|
|
5
|
+
- **Improved agent behavior quality** — Better exploration, verification, and convention-matching when working with spreadsheets.
|
|
6
|
+
|
|
7
|
+
## [0.2.30]
|
|
4
8
|
|
|
5
9
|
- **MCP server support** — Connect external tools via the Model Context Protocol. Ask the agent to set one up and it will walk you through config, credentials via `/connect`, and verification. Use `/mcp` to see connected servers and their tools.
|
|
10
|
+
- **Loops** — Set up recurring tasks with `/loop`. The agent executes them in the background and shows a status line in the footer. Example: `/loop 5m pull latest google earnings when it drops`.
|
|
11
|
+
- **Autonomous mode** — Run `/autonomous` to let the agent tackle complex tasks end-to-end. It collaborates with you on a phased plan, then executes each phase with built-in implementation, testing, and independent review cycles.
|
|
6
12
|
|
|
7
13
|
## [0.2.28]
|
|
8
14
|
|
package/agent-docs/README.md
CHANGED
|
@@ -321,15 +321,6 @@ shortcut config # Enable/disable package resources
|
|
|
321
321
|
| `--session-dir <dir>` | Custom session storage directory |
|
|
322
322
|
| `--no-session` | Ephemeral mode (don't save) |
|
|
323
323
|
|
|
324
|
-
### Tool Options
|
|
325
|
-
|
|
326
|
-
| Option | Description |
|
|
327
|
-
|--------|-------------|
|
|
328
|
-
| `--tools <list>` | Enable specific built-in tools (default: `read,bash,edit,write`) |
|
|
329
|
-
| `--no-tools` | Disable all built-in tools (extension tools still work) |
|
|
330
|
-
|
|
331
|
-
Available built-in tools: `read`, `bash`, `edit`, `write`, `grep`, `find`, `ls`, `task`
|
|
332
|
-
|
|
333
324
|
### Resource Options
|
|
334
325
|
|
|
335
326
|
| Option | Description |
|
|
@@ -380,9 +371,6 @@ shortcut --model sonnet "Help me refactor"
|
|
|
380
371
|
# Model with thinking level shorthand
|
|
381
372
|
shortcut --model sonnet:high "Solve this complex problem"
|
|
382
373
|
|
|
383
|
-
# Read-only mode
|
|
384
|
-
shortcut --tools read,grep,find,ls -p "Review the code"
|
|
385
|
-
|
|
386
374
|
# High thinking level
|
|
387
375
|
shortcut --thinking high "Solve this complex problem"
|
|
388
376
|
```
|
|
@@ -1351,12 +1351,6 @@ Extensions can override built-in tools (`read`, `bash`, `edit`, `write`, `grep`,
|
|
|
1351
1351
|
shortcut -e ./tool-override.ts
|
|
1352
1352
|
```
|
|
1353
1353
|
|
|
1354
|
-
Alternatively, use `--no-tools` to start without any built-in tools:
|
|
1355
|
-
```bash
|
|
1356
|
-
# No built-in tools, only extension tools
|
|
1357
|
-
shortcut --no-tools -e ./my-extension.ts
|
|
1358
|
-
```
|
|
1359
|
-
|
|
1360
1354
|
See [examples/extensions/tool-override.ts](../examples/extensions/tool-override.ts) for a complete example that overrides `read` with logging and access control.
|
|
1361
1355
|
|
|
1362
1356
|
**Rendering:** If your override doesn't provide custom `renderCall`/`renderResult` functions, the built-in renderer is used automatically (syntax highlighting, diffs, etc.). This lets you wrap built-in tools for logging or access control without reimplementing the UI.
|
package/agent-docs/docs/sdk.md
CHANGED
|
@@ -454,13 +454,13 @@ const myTool: ToolDefinition = {
|
|
|
454
454
|
}),
|
|
455
455
|
};
|
|
456
456
|
|
|
457
|
-
// Pass
|
|
457
|
+
// Pass tools directly
|
|
458
458
|
const { session } = await createAgentSession({
|
|
459
|
-
|
|
459
|
+
tools: [myTool],
|
|
460
460
|
});
|
|
461
461
|
```
|
|
462
462
|
|
|
463
|
-
|
|
463
|
+
Tools passed via `tools` are combined with extension-registered tools. Extensions loaded by the ResourceLoader can also register tools via `shortcut.registerTool()`.
|
|
464
464
|
|
|
465
465
|
> See [examples/sdk/05-tools.ts](../examples/sdk/05-tools.ts)
|
|
466
466
|
|
|
@@ -819,8 +819,7 @@ const { session } = await createAgentSession({
|
|
|
819
819
|
authStorage,
|
|
820
820
|
modelRegistry,
|
|
821
821
|
|
|
822
|
-
tools: [readTool, bashTool],
|
|
823
|
-
customTools: [statusTool],
|
|
822
|
+
tools: [readTool, bashTool, statusTool],
|
|
824
823
|
resourceLoader: loader,
|
|
825
824
|
|
|
826
825
|
sessionManager: SessionManager.inMemory(),
|
|
@@ -269,7 +269,6 @@ async function runSingleAgent(
|
|
|
269
269
|
|
|
270
270
|
const args: string[] = ['--mode', 'json', '-p', '--no-session'];
|
|
271
271
|
if (agent.model) args.push('--model', agent.model);
|
|
272
|
-
if (agent.tools && agent.tools.length > 0) args.push('--tools', agent.tools.join(','));
|
|
273
272
|
|
|
274
273
|
let tmpPromptDir: string | null = null;
|
|
275
274
|
let tmpPromptPath: string | null = null;
|
|
@@ -90,7 +90,7 @@ const { session } = await createAgentSession({
|
|
|
90
90
|
modelRegistry: customRegistry,
|
|
91
91
|
resourceLoader,
|
|
92
92
|
tools: [readTool, bashTool],
|
|
93
|
-
|
|
93
|
+
tools: [readTool, bashTool, myTool],
|
|
94
94
|
sessionManager: SessionManager.inMemory(),
|
|
95
95
|
settingsManager: SettingsManager.inMemory(),
|
|
96
96
|
});
|
|
@@ -114,8 +114,7 @@ await session.prompt("Hello");
|
|
|
114
114
|
| `agentDir` | `~/.shortcut/agent` | Config directory |
|
|
115
115
|
| `model` | From settings/first available | Model to use |
|
|
116
116
|
| `thinkingLevel` | From settings/"off" | off, low, medium, high |
|
|
117
|
-
| `tools` | `
|
|
118
|
-
| `customTools` | `[]` | Additional tool definitions |
|
|
117
|
+
| `tools` | `[]` | Tool definitions to register |
|
|
119
118
|
| `resourceLoader` | DefaultResourceLoader | Resource loader for extensions, skills, prompts, themes |
|
|
120
119
|
| `sessionManager` | `SessionManager.create(cwd)` | Persistence |
|
|
121
120
|
| `settingsManager` | `SettingsManager.create(cwd, agentDir)` | Settings overrides |
|