@asc-agent/runtime 0.1.0 → 0.2.1
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 +4 -1
- package/dist/adapters/claude-code/skill.js +9 -1
- package/dist/cli/asc.d.ts +4 -5
- package/dist/cli/asc.js +378 -149
- package/dist/core/attach/adopt.d.ts +38 -0
- package/dist/core/attach/adopt.js +104 -0
- package/dist/core/attach/bootstrap.d.ts +13 -3
- package/dist/core/attach/bootstrap.js +14 -17
- package/dist/core/attach/setup-plan.d.ts +10 -1
- package/dist/core/attach/setup-plan.js +36 -8
- package/dist/core/attach/setup.d.ts +10 -0
- package/dist/core/attach/setup.js +10 -0
- package/dist/core/distribution/node-runtime.d.ts +44 -0
- package/dist/core/distribution/node-runtime.js +75 -0
- package/dist/core/distribution/release.d.ts +3 -3
- package/dist/core/distribution/release.js +1 -1
- package/dist/core/monitor/observation.d.ts +2 -2
- package/dist/core/resolver/load.d.ts +12 -1
- package/dist/core/resolver/load.js +23 -2
- package/dist/core/resolver/profile-source.d.ts +29 -0
- package/dist/core/resolver/profile-source.js +139 -0
- package/dist/core/workspace/identity.d.ts +2 -2
- package/dist/core/workspace/index-store.d.ts +10 -10
- package/dist/schemas/profile.d.ts +21 -21
- package/package.json +55 -55
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ proceed-by-default, escalation, audit, the external-write guard, host integratio
|
|
|
7
7
|
here.
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install -g @asc-agent/runtime@0.1
|
|
10
|
+
npm install -g @asc-agent/runtime@0.2.1
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
npm owns the executable link (on Windows, npm's own `asc.cmd`). This package never edits
|
|
@@ -19,4 +19,7 @@ network access. Only bootstrap, install and update do.
|
|
|
19
19
|
On a machine with nothing installed yet, start from
|
|
20
20
|
[`@asc-agent/bootstrap`](https://www.npmjs.com/package/@asc-agent/bootstrap) instead.
|
|
21
21
|
|
|
22
|
+
Driving this from a coding agent? The runbook is `AGENTS.md` in the
|
|
23
|
+
[repository](https://github.com/colosair/asc).
|
|
24
|
+
|
|
22
25
|
See the [repository README](https://github.com/colosair/asc#readme).
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
// 몫이고, skill에 복제되는 순간 두 곳이 서로 다른 정책을 말하기 시작한다.
|
|
14
14
|
// skill이 정하는 것은 다섯뿐이다 — 언제 어떤 표면을 부르는가 / 무엇을 모으는가 /
|
|
15
15
|
// 무엇을 직접 판단하면 안 되는가 / depth를 언제 올리는가 / 언제 돌려주는가.
|
|
16
|
+
// 버전은 **한 곳에서만** 온다. 손으로 적으면 릴리스마다 여기가 뒤처지고, 이 문자열은
|
|
17
|
+
// 사용자의 `~/.claude/skills/` 에 실제로 쓰이므로 그 지연이 사용자의 명령이 된다 —
|
|
18
|
+
// 0.2.0 회차에 이 파일이 `@0.1.0` 을 들고 있었다.
|
|
19
|
+
import { BOOTSTRAP_SPEC } from "../../core/distribution/release.js";
|
|
16
20
|
/** 설치 단위. 파일이 늘어도 manifest 기반 설치·제거 계약은 그대로다 (C-05 §5). */
|
|
17
21
|
export function skillBundle() {
|
|
18
22
|
return [
|
|
@@ -45,8 +49,12 @@ The user does not need to know this sequence. This is the one the skill follows.
|
|
|
45
49
|
\`\`\`text
|
|
46
50
|
0. Is ASC even installed? If \`asc\` is not on PATH, this machine has no runtime yet.
|
|
47
51
|
Start from the bootstrap, not from \`asc\`:
|
|
48
|
-
npx --yes
|
|
52
|
+
npx --yes ${BOOTSTRAP_SPEC} setup apply --json
|
|
49
53
|
Its JSON carries \`actions[].portable\` — run that, never \`display\`.
|
|
54
|
+
If the host refuses to run that command at all, that is a permission boundary, not an
|
|
55
|
+
ASC failure. Do not try other shapes of the same thing. Show the person the exact
|
|
56
|
+
command and ask them to switch this session's permission mode so they can approve the
|
|
57
|
+
single run — a standing allow rule for the command was measured and did not work.
|
|
50
58
|
|
|
51
59
|
1. Attached? asc setup status
|
|
52
60
|
not yet → asc init (it shows profile candidates; a person chooses)
|
package/dist/cli/asc.d.ts
CHANGED
|
@@ -7,10 +7,9 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export type AscEntry = 'runtime' | 'bootstrap';
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* 진입이 둘이어도 판단은 하나다. 그래서 export이고, 그래서 아래 자동 실행은 이 파일이
|
|
14
|
-
* 진짜 진입점일 때만 돈다.
|
|
10
|
+
* bootstrap이 자기 USAGE에 적을 값. **거기서 손으로 적지 않게 하려고 내보낸다** —
|
|
11
|
+
* 두 패키지가 각자 버전 문자열을 들면 릴리스마다 한쪽이 뒤처지고, 그 지연은 곧
|
|
12
|
+
* 사용자가 실행하는 명령이 된다 (0.2.0 회차의 skill.ts가 그랬다).
|
|
15
13
|
*/
|
|
14
|
+
export { BOOTSTRAP_SPEC } from '../core/distribution/release.ts';
|
|
16
15
|
export declare function runAscCommand(argv: string[], entry?: AscEntry): Promise<number>;
|