ticlawk 0.1.17-dev.2 → 0.1.17-dev.21
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 +26 -59
- package/bin/ticlawk.mjs +31 -301
- package/package.json +4 -2
- package/scripts/publish-dev.sh +77 -0
- package/src/adapters/ticlawk/api.mjs +50 -378
- package/src/adapters/ticlawk/credentials.mjs +1 -43
- package/src/adapters/ticlawk/index.mjs +61 -565
- package/src/adapters/ticlawk/wake-client.mjs +1 -1
- package/src/cli/agent-commands.mjs +18 -715
- package/src/core/adapter-registry.mjs +1 -19
- package/src/core/agent-cli-handlers.mjs +18 -556
- package/src/core/agent-home.mjs +1 -81
- package/src/core/daemon-install.mjs +5 -7
- package/src/core/events/worker-events.mjs +36 -32
- package/src/core/http.mjs +0 -152
- package/src/core/profiles.mjs +0 -1
- package/src/core/runtime-contract.mjs +1 -0
- package/src/core/runtime-env.mjs +0 -8
- package/src/core/runtime-support.mjs +78 -130
- package/src/runtimes/_shared/incoming-message-prompt.mjs +232 -0
- package/src/runtimes/_shared/runtime-base-instructions.mjs +34 -0
- package/src/runtimes/claude-code/index.mjs +48 -21
- package/src/runtimes/claude-code/session.mjs +7 -2
- package/src/runtimes/codex/index.mjs +64 -116
- package/src/runtimes/codex/session.mjs +12 -2
- package/src/runtimes/openclaw/index.mjs +30 -17
- package/src/runtimes/opencode/index.mjs +64 -42
- package/src/runtimes/opencode/session.mjs +14 -14
- package/src/runtimes/pi/index.mjs +64 -42
- package/src/runtimes/pi/session.mjs +8 -11
- package/ticlawk.mjs +32 -5
- package/src/runtimes/_shared/agent-handbook.mjs +0 -45
- package/src/runtimes/_shared/brand.mjs +0 -2
- package/src/runtimes/_shared/goal-step-prompt.mjs +0 -98
- package/src/runtimes/_shared/goal-task-protocol.mjs +0 -50
- package/src/runtimes/_shared/handbook/BASICS.md +0 -27
- package/src/runtimes/_shared/handbook/COLLABORATION.md +0 -37
- package/src/runtimes/_shared/handbook/COMMUNICATION.md +0 -55
- package/src/runtimes/_shared/handbook/DM_SCOPE.md +0 -13
- package/src/runtimes/_shared/handbook/GOAL_AUTHORITY.md +0 -47
- package/src/runtimes/_shared/handbook/GOAL_TASK_CORE.md +0 -43
- package/src/runtimes/_shared/handbook/GROUP_ADMIN_SCOPE.md +0 -21
- package/src/runtimes/_shared/handbook/GROUP_MEMBER_SCOPE.md +0 -15
- package/src/runtimes/_shared/handbook/SURFACES.md +0 -41
- package/src/runtimes/_shared/handbook/TASK_WORKER.md +0 -14
- package/src/runtimes/_shared/standing-prompt.mjs +0 -171
- package/src/runtimes/_shared/wake-prompt.mjs +0 -268
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createTiclawkAdapter,
|
|
3
|
-
getTiclawkAuthHelp,
|
|
4
|
-
runTiclawkAuth,
|
|
5
|
-
} from '../adapters/ticlawk/index.mjs';
|
|
1
|
+
import { createTiclawkAdapter } from '../adapters/ticlawk/index.mjs';
|
|
6
2
|
|
|
7
3
|
/**
|
|
8
4
|
* Ticlawk has a single adapter: ticlawk itself. The registry shape is kept
|
|
@@ -18,17 +14,3 @@ export function createAdapter(adapterId, ctx) {
|
|
|
18
14
|
}
|
|
19
15
|
return createTiclawkAdapter(ctx);
|
|
20
16
|
}
|
|
21
|
-
|
|
22
|
-
export function getAdapterAuthHelp(adapterId) {
|
|
23
|
-
if (adapterId !== ADAPTER_ID) {
|
|
24
|
-
throw new Error(`unsupported adapter: ${adapterId}`);
|
|
25
|
-
}
|
|
26
|
-
return getTiclawkAuthHelp();
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export async function runAdapterAuth(adapterId, rawArgs) {
|
|
30
|
-
if (adapterId !== ADAPTER_ID) {
|
|
31
|
-
throw new Error(`unsupported adapter: ${adapterId}`);
|
|
32
|
-
}
|
|
33
|
-
return runTiclawkAuth(rawArgs);
|
|
34
|
-
}
|