{"_id":"@anton-sifta/core","name":"@anton-sifta/core","dist-tags":{"latest":"0.0.42"},"versions":{"0.0.42":{"name":"@anton-sifta/core","description":"Core runtime for the @anton-sifta/alice hand (SIFTA fork of cline-core) — Node runtime, kanban, MCP, providers","version":"0.0.42","repository":{"type":"git","url":"git+https://github.com/antonpictures/ANTON-SIFTA.git","directory":"Vendor/alice-cli/sdk/packages/core"},"type":"module","types":"./dist/index.d.ts","main":"./dist/index.js","private":false,"publishConfig":{"access":"public"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./hub":{"types":"./dist/hub/index.d.ts","import":"./dist/hub/index.js"},"./hub/daemon-entry":{"types":"./dist/hub/daemon/entry.d.ts","import":"./dist/hub/daemon/entry.js"},"./telemetry":{"types":"./dist/services/telemetry/index.d.ts","import":"./dist/services/telemetry/index.js"}},"scripts":{"build":"bun run ./bun.mts && bun tsc -p tsconfig.build.json","typecheck":"bun tsc -p tsconfig.dev.json --noEmit && bun run typecheck:smoke","typecheck:smoke":"bun tsc -p tsconfig.smoke.json --noEmit","test":"bun run test:unit && bun run test:e2e","test:live":"vitest run --config vitest.config.ts src/extensions/context/compaction.live.test.ts","test:unit":"vitest run --config vitest.config.ts","test:e2e":"vitest run --config vitest.e2e.config.ts","verify:routines":"zsh -lc 'bun x vitest run src/cron/schedule-service.test.ts --config vitest.config.ts'","test:watch":"vitest --config vitest.config.ts"},"dependencies":{"@anton-sifta/agents":"workspace:*","@anton-sifta/shared":"workspace:*","@anton-sifta/llms":"workspace:*","@modelcontextprotocol/sdk":"^1.29.0","@opentelemetry/api":"^1.9.0","@opentelemetry/api-logs":"^0.214.0","@opentelemetry/exporter-logs-otlp-http":"^0.214.0","@opentelemetry/exporter-metrics-otlp-http":"^0.214.0","@opentelemetry/exporter-trace-otlp-http":"^0.214.0","@opentelemetry/resources":"^2.6.1","@opentelemetry/sdk-logs":"^0.214.0","@opentelemetry/sdk-metrics":"^2.6.1","@opentelemetry/sdk-trace-base":"^2.6.1","@opentelemetry/sdk-trace-node":"^2.6.1","@opentelemetry/semantic-conventions":"^1.40.0","jiti":"^2.7.0","node-machine-id":"^1.1.12","nanoid":"^5.1.7","simple-git":"3.36.0","ws":"^8.20.0","yaml":"^2.8.2","zod":"^4.3.6"},"devDependencies":{"@types/ws":"^8.18.1"},"engines":{"node":">=22"},"gitHead":"9f42aea85de581ac3a8053726d532f5d5a5463b3","_id":"@anton-sifta/core@0.0.42","bugs":{"url":"https://github.com/antonpictures/ANTON-SIFTA/issues"},"homepage":"https://github.com/antonpictures/ANTON-SIFTA#readme","_nodeVersion":"25.4.0","_npmVersion":"11.7.0","dist":{"integrity":"sha512-nt+b+qTBmciB0vSiE4x2OjumkgHl0EqjOwZ4ltjo0/SnyXPILdGs5USlMtKn9plJboTx7AvrSfJqnO8YM0MApw==","shasum":"2bba4e58925be6d53b73e865beed9a104320d343","tarball":"https://registry.npmjs.org/@anton-sifta/core/-/core-0.0.42.tgz","fileCount":230,"unpackedSize":2568794,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEfnOUyMS3mtUXMehi470faXm8LcUCNwWYDDekjiOmRMAiAmBWFxo9ctXg/aNvtdPEPDv3IxoTv/ba09kPhDUlwSig=="}]},"_npmUser":{"name":"ioangeorgeanton","email":"antonpictures@me.com"},"directories":{},"maintainers":[{"name":"ioangeorgeanton","email":"antonpictures@me.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.0.42_1780075229525_0.15335735415832552"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-29T17:20:29.383Z","0.0.42":"2026-05-29T17:20:29.737Z","modified":"2026-05-29T17:20:29.956Z"},"maintainers":[{"name":"ioangeorgeanton","email":"antonpictures@me.com"}],"description":"Core runtime for the @anton-sifta/alice hand (SIFTA fork of cline-core) — Node runtime, kanban, MCP, providers","homepage":"https://github.com/antonpictures/ANTON-SIFTA#readme","repository":{"type":"git","url":"git+https://github.com/antonpictures/ANTON-SIFTA.git","directory":"Vendor/alice-cli/sdk/packages/core"},"bugs":{"url":"https://github.com/antonpictures/ANTON-SIFTA/issues"},"readme":"# [experimental] @cline/core\n\n`@cline/core` is the stateful orchestration layer of the Cline SDK. It\nconnects the agent runtime, provider settings, storage, default tools, and\nsession lifecycle into a host-ready runtime.\n\n## What You Get\n\n- session lifecycle and orchestration primitives\n- provider settings and account services\n- default runtime tools and MCP integration\n- storage-backed session and team state helpers\n- host-facing Node helpers through `@cline/core`\n\n## Installation\n\n```bash\nnpm install @cline/core\n```\n\n## Entry Points\n\n- `@cline/core`: core contracts, shared utilities, and Node/server helpers for building hosts and runtimes\n\n## Typical Usage\n\nMost host apps should start with `@cline/core`.\n\n```ts\nimport { ClineCore } from \"@cline/core\";\n\nconst cline = await ClineCore.create({});\n\nconst result = await cline.start({\n\tconfig: {\n\t\tproviderId: \"anthropic\",\n\t\tmodelId: \"claude-sonnet-4-6\",\n\t\tapiKey: process.env.ANTHROPIC_API_KEY ?? \"\",\n\t\tcwd: process.cwd(),\n\t\tmode: \"act\",\n\t\tenableTools: true,\n\t\tenableSpawnAgent: false,\n\t\tenableAgentTeams: false,\n\t\tsystemPrompt: \"You are a concise assistant.\",\n\t},\n\tprompt: \"Summarize this project.\",\n\tinteractive: false,\n});\n\nconsole.log(result.result?.text);\nawait cline.dispose();\n```\n\n## Session Bootstrap\n\n`ClineCore.create(...)` also accepts `prepare(input)`.\n\nUse it when a host needs to prepare workspace-scoped runtime state before each\nsession starts, then apply watcher/extensions/telemetry inputs through\nexplicit `localRuntime` bootstrap fields without widening the shared host\ncontract.\n\n## Main APIs\n\n### Runtime and Sessions\n\nUse `@cline/core` for host-facing runtime assembly:\n\n- `ClineCore.create(...)`\n- `createRuntimeHost(...)`\n- `LocalRuntimeHost`\n- `HubRuntimeHost` and `RemoteRuntimeHost`\n- `DefaultRuntimeBuilder`\n\n`ClineCore` is the app-facing session API. The lower-level `RuntimeHost`\nboundary uses runtime-primitive names such as `startSession` and `runTurn` so\ntransport adapters stay distinct from product methods like `start` and `send`.\nService-style operations such as pending prompt edits, accumulated usage lookup,\nand active-session model switching are exposed through `ClineCore` when the\nselected transport supports them rather than being part of the minimal host\nprimitive vocabulary.\n\n### Default Tools\n\n`@cline/core` owns the built-in host tools and executors:\n\n- `createBuiltinTools(...)`\n- `createDefaultTools(...)`\n- `createDefaultExecutors(...)`\n\n### Storage and Settings\n\nThe package also exports storage and settings helpers such as:\n\n- `ProviderSettingsManager`\n- `CoreSettingsService` and `createCoreSettingsService`\n- MCP settings helpers such as `setMcpServerDisabled`\n- `SqliteTeamStore`\n- SQLite-backed local session stores and artifacts through `@cline/core`\n\n## Related Packages\n\n- `@cline/agents`: stateless agent loop and tool primitives\n- `@cline/llms`: provider/model configuration and handlers\n\n## More Examples\n\n- Repo examples: [examples](https://github.com/cline/sdk/tree/main/examples), [apps/examples](https://github.com/cline/sdk/tree/main/apps/examples)\n- Workspace overview: [README.md](https://github.com/cline/cline/blob/main/README.md)\n- API and architecture references: [DOC.md](https://github.com/cline/cline/blob/main/DOC.md), [ARCHITECTURE.md](https://github.com/cline/cline/blob/main/ARCHITECTURE.md)\n","readmeFilename":"README.md","_rev":"1-e7f94248c4c3d01a54e6870459021ee7"}