akari-video 0.1.87 → 0.1.88
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/package.json +1 -1
- package/vendor/packages/akari-launcher/package.json +1 -1
- package/vendor/packages/project-scaffold/src/index.mjs +2 -2
- package/vendor/packages/project-scaffold/test/hidden-adapters.test.mjs +16 -0
- package/vendor/packages/project-scaffold/test/kit-skill-adapter.test.mjs +2 -2
- package/vendor/packages/project-scaffold/test/skill-adapter-link.test.mjs +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "akari-video",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.88",
|
|
4
4
|
"description": "AKARI Video launcher CLI — start an AI-edited video project from any directory: scaffold, connection check, then hand over to Claude Code (or opencode). AKARI Video を opencode や Claude Code で、どのディレクトリからでも始めるための `akari` ランチャー CLI。接続確認(doctor)→ 未セットアップならプロジェクト雛形を作成 → AI エージェントを起動する。外部 npm 依存ゼロ(Node.js 組み込みモジュールのみ)。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "akari-video",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.88",
|
|
4
4
|
"description": "AKARI Video launcher CLI — start an AI-edited video project from any directory: scaffold, connection check, then hand over to Claude Code (or opencode). AKARI Video を opencode や Claude Code で、どのディレクトリからでも始めるための `akari` ランチャー CLI。接続確認(doctor)→ 未セットアップならプロジェクト雛形を作成 → AI エージェントを起動する。外部 npm 依存ゼロ(Node.js 組み込みモジュールのみ)。 [akari-video npm vendor: bin/akari.mjs is reference-only. These CLI entrypoints are not included in the akari-video npm package. Use `akari doctor --json` and run the path reported in `render_cut.path`. Full installations provide it in a monorepo checkout, ~/.akari/app, /Applications/AKARI Video.app/Contents/Resources/packages, or %LOCALAPPDATA%\\Programs\\@akari-videoshell\\resources\\packages.]",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -87,7 +87,7 @@ const FALLBACK_WORKFLOW = {
|
|
|
87
87
|
{ path: 'exports', label: '書き出し', kind: 'exports' }
|
|
88
88
|
],
|
|
89
89
|
tree: {
|
|
90
|
-
hidden: ['.claude', '.agents', '.codex', '.cursor', '.akari', 'CLAUDE.md', 'AGENTS.md', '.gitignore', '.gitkeep'],
|
|
90
|
+
hidden: ['.claude', '.agents', '.codex', '.cursor', '.opencode', '.devin', '.akari', 'CLAUDE.md', 'AGENTS.md', '.gitignore', '.gitkeep'],
|
|
91
91
|
sidecarSuffixes: ['.meta.json', '.decisions.json', '.analysis.json'],
|
|
92
92
|
developerModePreference: 'akari.developerMode'
|
|
93
93
|
},
|
|
@@ -216,7 +216,7 @@ export async function writeFallbackTemplate(destinationDir) {
|
|
|
216
216
|
return { writtenFiles, skippedExisting };
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
const SKILL_ADAPTER_DIRECTORIES = ['.agents', '.codex', '.cursor', '.opencode'];
|
|
219
|
+
const SKILL_ADAPTER_DIRECTORIES = ['.agents', '.codex', '.cursor', '.opencode', '.devin'];
|
|
220
220
|
|
|
221
221
|
function isPermissionDenied(error) {
|
|
222
222
|
return error && typeof error === 'object' && (error.code === 'EPERM' || error.code === 'EACCES');
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import test from 'node:test';
|
|
2
|
+
import assert from 'node:assert/strict';
|
|
3
|
+
import { mkdtemp, readFile, rm } from 'node:fs/promises';
|
|
4
|
+
import { tmpdir } from 'node:os';
|
|
5
|
+
import { join } from 'node:path';
|
|
6
|
+
import { writeFallbackTemplate } from '../src/index.mjs';
|
|
7
|
+
|
|
8
|
+
test('scaffold の fallback workflow は全スキルリンク置き場を隠す', async t => {
|
|
9
|
+
const root = await mkdtemp(join(tmpdir(), 'akari-hidden-adapters-'));
|
|
10
|
+
t.after(() => rm(root, { recursive: true, force: true }));
|
|
11
|
+
await writeFallbackTemplate(root);
|
|
12
|
+
const workflow = JSON.parse(await readFile(join(root, '.akari', 'workflow.json'), 'utf8'));
|
|
13
|
+
for (const adapter of ['.agents', '.codex', '.cursor', '.opencode', '.devin']) {
|
|
14
|
+
assert.ok(workflow.tree.hidden.includes(adapter), adapter);
|
|
15
|
+
}
|
|
16
|
+
});
|
|
@@ -17,7 +17,7 @@ test('installSkillAdapters: kits の skill を全アダプタへ合成し、重
|
|
|
17
17
|
await mkdir(path.join(kitSkills, 'official'), { recursive: true });
|
|
18
18
|
|
|
19
19
|
const report = await installSkillAdapters(root, { env: { AKARI_HOME: home } });
|
|
20
|
-
for (const adapter of ['.agents', '.codex', '.cursor', '.opencode']) {
|
|
20
|
+
for (const adapter of ['.agents', '.codex', '.cursor', '.opencode', '.devin']) {
|
|
21
21
|
const kitLink = path.join(root, adapter, 'skills', 'kit-only');
|
|
22
22
|
assert.equal(
|
|
23
23
|
path.resolve(path.dirname(kitLink), await readlink(kitLink)),
|
|
@@ -29,7 +29,7 @@ test('installSkillAdapters: kits の skill を全アダプタへ合成し、重
|
|
|
29
29
|
path.join(root, '.claude', 'skills', 'official')
|
|
30
30
|
);
|
|
31
31
|
}
|
|
32
|
-
assert.equal(report.warnings.length,
|
|
32
|
+
assert.equal(report.warnings.length, 5);
|
|
33
33
|
assert.ok(report.warnings.every((line) => line.includes('純正スキルを優先')));
|
|
34
34
|
} finally {
|
|
35
35
|
await rm(root, { recursive: true, force: true });
|
|
@@ -182,10 +182,11 @@ test("installSkillAdapters: on win32 with symlink EPERM, all adapters degrade to
|
|
|
182
182
|
".agents/skills/analyze-footage",
|
|
183
183
|
".codex/skills/analyze-footage",
|
|
184
184
|
".cursor/skills/analyze-footage",
|
|
185
|
+
".devin/skills/analyze-footage",
|
|
185
186
|
".opencode/skills/analyze-footage"
|
|
186
187
|
]);
|
|
187
188
|
assert.deepEqual(report.skippedExisting, []);
|
|
188
|
-
assert.equal(report.degraded.length,
|
|
189
|
+
assert.equal(report.degraded.length, 5);
|
|
189
190
|
assert.ok(report.degraded.every((entry) => entry.method === "junction"));
|
|
190
191
|
});
|
|
191
192
|
});
|
|
@@ -201,6 +202,7 @@ test("installSkillAdapters: real fs on the current platform still creates plain
|
|
|
201
202
|
".agents/skills/analyze-footage",
|
|
202
203
|
".codex/skills/analyze-footage",
|
|
203
204
|
".cursor/skills/analyze-footage",
|
|
205
|
+
".devin/skills/analyze-footage",
|
|
204
206
|
".opencode/skills/analyze-footage"
|
|
205
207
|
]);
|
|
206
208
|
assert.deepEqual(report.degraded, []);
|