arashi 1.10.0 → 1.11.0
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 +23 -3
- package/package.json +3 -2
- package/schema/config.schema.json +28 -0
package/README.md
CHANGED
|
@@ -125,6 +125,16 @@ arashi switch --cd feature-auth-refresh # parent-shell cd when shell integra
|
|
|
125
125
|
arashi switch --no-default-launch # bypass configured launch mode defaults once
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
+
## Workflow Guides
|
|
129
|
+
|
|
130
|
+
Use the docs site workflow guides when you want setup guidance by outcome instead of by individual command.
|
|
131
|
+
|
|
132
|
+
For contributors working on Arashi itself, the project planning workflow in the `arashi-arashi` meta-repo now uses OpenSpec. Older SpecKit-oriented references in legacy planning artifacts are historical context only.
|
|
133
|
+
|
|
134
|
+
- Hooks and configuration defaults: [arashi.haphazard.dev/workflows/hooks-and-config](https://arashi.haphazard.dev/workflows/hooks-and-config/)
|
|
135
|
+
- Integrations for VSCode, tmux, and `tmux` plus `sesh`: [arashi.haphazard.dev/workflows/integrations](https://arashi.haphazard.dev/workflows/integrations/)
|
|
136
|
+
- Agent-assisted and spec-driven change flow: [arashi.haphazard.dev/workflows/agents-and-specs](https://arashi.haphazard.dev/workflows/agents-and-specs/)
|
|
137
|
+
|
|
128
138
|
## Shell Integration
|
|
129
139
|
|
|
130
140
|
Use shell integration when you want `arashi switch` to change the current shell directory instead of only opening a new terminal or editor context.
|
|
@@ -244,8 +254,15 @@ Example config header:
|
|
|
244
254
|
"defaults": {
|
|
245
255
|
"create": {
|
|
246
256
|
"switch": true,
|
|
247
|
-
"launch":
|
|
248
|
-
|
|
257
|
+
"launch": false
|
|
258
|
+
},
|
|
259
|
+
"editors": {
|
|
260
|
+
"vscode": {
|
|
261
|
+
"create": {
|
|
262
|
+
"launch": true,
|
|
263
|
+
"launchMode": "sesh"
|
|
264
|
+
}
|
|
265
|
+
}
|
|
249
266
|
},
|
|
250
267
|
"switch": {
|
|
251
268
|
"mode": "auto",
|
|
@@ -258,7 +275,9 @@ Example config header:
|
|
|
258
275
|
|
|
259
276
|
`defaults.switch.mode` accepts `"launch"`, `"cd"`, or `"auto"`. `"auto"` prefers parent-shell switching only when shell integration is active.
|
|
260
277
|
|
|
261
|
-
|
|
278
|
+
Use `defaults.create` for terminal `arashi create` behavior. Use `defaults.editors.<host>.create` for editor-specific overrides such as VS Code extension create flows. Supported hosts are `vscode`, `cursor`, and `kiro`.
|
|
279
|
+
|
|
280
|
+
Defaults precedence for create/switch behavior: explicit CLI flag > opt-out flag > config default > built-in default. For editor-hosted `create`, Arashi uses the matching `defaults.editors.<host>.create` override when present and otherwise skips post-create defaults instead of falling back to terminal defaults.
|
|
262
281
|
|
|
263
282
|
## skills.sh Integration
|
|
264
283
|
|
|
@@ -275,6 +294,7 @@ Arashi also ships a dedicated `skills.sh` integration package for guided install
|
|
|
275
294
|
- Configuration details: [`docs/configuration.md`](./docs/configuration.md)
|
|
276
295
|
- Clone command details: [`docs/commands/clone.md`](./docs/commands/clone.md)
|
|
277
296
|
- Hook behavior: [`docs/hooks.md`](./docs/hooks.md)
|
|
297
|
+
- Workflow guides: [https://arashi.haphazard.dev/workflows/](https://arashi.haphazard.dev/workflows/)
|
|
278
298
|
- Shell integration details: [`docs/commands/shell.md`](./docs/commands/shell.md)
|
|
279
299
|
- Setup command details: [`docs/commands/setup.md`](./docs/commands/setup.md)
|
|
280
300
|
- Switch command details: [`docs/commands/switch.md`](./docs/commands/switch.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arashi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
4
4
|
"description": "Git worktree manager for meta-repositories - The eye of the storm for your development workflow",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -48,7 +48,8 @@
|
|
|
48
48
|
"type": "module",
|
|
49
49
|
"scripts": {
|
|
50
50
|
"dev": "bun run src/index.ts",
|
|
51
|
-
"build": "bun build src/index.ts --compile --minify --
|
|
51
|
+
"build": "bun build src/index.ts --compile --minify --outfile bin/arashi.bin",
|
|
52
|
+
"build:debug": "bun build src/index.ts --compile --sourcemap --outfile bin/arashi.bin",
|
|
52
53
|
"build:all": "bun run build:mac && bun run build:linux && bun run build:windows",
|
|
53
54
|
"build:mac": "bun build src/index.ts --compile --target=bun-darwin-arm64 --outfile bin/arashi-macos-arm64",
|
|
54
55
|
"build:linux": "bun build src/index.ts --compile --target=bun-linux-x64 --outfile bin/arashi-linux-x64",
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
"create": {
|
|
9
9
|
"$ref": "#/definitions/CreateCommandDefaults"
|
|
10
10
|
},
|
|
11
|
+
"editors": {
|
|
12
|
+
"$ref": "#/definitions/EditorDefaultsConfig"
|
|
13
|
+
},
|
|
11
14
|
"switch": {
|
|
12
15
|
"$ref": "#/definitions/SwitchCommandDefaults"
|
|
13
16
|
}
|
|
@@ -93,6 +96,31 @@
|
|
|
93
96
|
},
|
|
94
97
|
"type": "object"
|
|
95
98
|
},
|
|
99
|
+
"EditorCommandDefaults": {
|
|
100
|
+
"additionalProperties": false,
|
|
101
|
+
"properties": {
|
|
102
|
+
"create": {
|
|
103
|
+
"$ref": "#/definitions/CreateCommandDefaults",
|
|
104
|
+
"description": "Editor-scoped create defaults"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"type": "object"
|
|
108
|
+
},
|
|
109
|
+
"EditorDefaultsConfig": {
|
|
110
|
+
"additionalProperties": false,
|
|
111
|
+
"properties": {
|
|
112
|
+
"cursor": {
|
|
113
|
+
"$ref": "#/definitions/EditorCommandDefaults"
|
|
114
|
+
},
|
|
115
|
+
"kiro": {
|
|
116
|
+
"$ref": "#/definitions/EditorCommandDefaults"
|
|
117
|
+
},
|
|
118
|
+
"vscode": {
|
|
119
|
+
"$ref": "#/definitions/EditorCommandDefaults"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"type": "object"
|
|
123
|
+
},
|
|
96
124
|
"LaunchMode": {
|
|
97
125
|
"enum": ["auto", "sesh"],
|
|
98
126
|
"type": "string"
|