kici 0.1.13 → 0.1.15

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.
Files changed (4) hide show
  1. package/README.md +61 -1
  2. package/bin/kici.js +3 -13
  3. package/package.json +14 -9
  4. package/sbom.spdx.json +1335 -8443
package/README.md CHANGED
@@ -1 +1,61 @@
1
- TBD
1
+ # KiCI
2
+
3
+ > TypeScript-native CI/CD workflow engine. Define your CI in TypeScript, test it locally, run it anywhere.
4
+
5
+ `kici` is the developer CLI for [KiCI](https://kici.dev): scaffold a `.kici/` workflow directory, compile workflows, dry-run them against synthetic or real events, and execute them locally or against a remote orchestrator.
6
+
7
+ ## Quickstart
8
+
9
+ ```bash
10
+ npm install -g kici
11
+ kici init
12
+ kici test pr:open
13
+ kici run local push
14
+ ```
15
+
16
+ Full quickstart with the hosted dashboard and a customer-deployed orchestrator: <https://docs.kici.dev/user/quickstart/>.
17
+
18
+ ## Packages
19
+
20
+ | Package | License | Description |
21
+ | --------------------------------------------------------------------------------------------------- | ------------- | -------------------------------------------------------------------- |
22
+ | [`kici`](https://github.com/kici-dev/kici-public/tree/main/packages/kici) | Apache-2.0 | Developer CLI wrapper — author + drive workflows |
23
+ | [`@kici-dev/sdk`](https://github.com/kici-dev/kici-public/tree/main/packages/sdk) | Apache-2.0 | Workflow definition SDK (`workflow`, `job`, `step`, triggers) |
24
+ | [`@kici-dev/compiler`](https://github.com/kici-dev/kici-public/tree/main/packages/compiler) | Apache-2.0 | CLI tooling: `kici init`, `kici compile`, `kici test`, `kici run` |
25
+ | [`@kici-dev/core`](https://github.com/kici-dev/kici-public/tree/main/packages/core) | Apache-2.0 | Light shared utilities (no server-side dependencies) |
26
+ | [`@kici-dev/shared`](https://github.com/kici-dev/kici-public/tree/main/packages/shared) | Apache-2.0 | Shared utilities (logging, crypto, telemetry, health routes) |
27
+ | [`@kici-dev/engine`](https://github.com/kici-dev/kici-public/tree/main/packages/engine) | AGPL-3.0-only | Core business logic (protocol, triggers, state machine) |
28
+ | [`@kici-dev/agent`](https://github.com/kici-dev/kici-public/tree/main/packages/agent) | AGPL-3.0-only | Customer-deployable agent (clone, execute, stream logs) |
29
+ | [`@kici-dev/orchestrator`](https://github.com/kici-dev/kici-public/tree/main/packages/orchestrator) | AGPL-3.0-only | Customer-deployable orchestrator (triggers, dispatch, queue, scaler) |
30
+ | [`kici-admin`](https://github.com/kici-dev/kici-public/tree/main/packages/kici-admin) | AGPL-3.0-only | Orchestrator admin CLI |
31
+
32
+ License details: <https://github.com/kici-dev/kici-public/blob/main/LICENSES.md>. Per-package LICENSE files live alongside each package.
33
+
34
+ ## Container images
35
+
36
+ The two customer-deployable services ship as container images on Quay:
37
+
38
+ - `quay.io/kici-dev/kici-orchestrator`
39
+ - `quay.io/kici-dev/kici-agent`
40
+
41
+ A reference compose file is at <https://github.com/kici-dev/kici-public/blob/main/examples/quickstart/compose/docker-compose.yaml>.
42
+
43
+ ## Building from source
44
+
45
+ ```bash
46
+ pnpm install
47
+ pnpm -r run build
48
+ pnpm -r run test
49
+ ```
50
+
51
+ Requires Node 24, pnpm 11+.
52
+
53
+ ## Where development happens
54
+
55
+ Day-to-day development happens in a private upstream monorepo. The public repo (`github.com/kici-dev/kici-public`) is a projection of KiCI's open-source packages — 9 packages, the docs, the examples tree, and a few overlay files. Each release lands as a single squash commit on `main`.
56
+
57
+ Issues and PRs are welcome at <https://github.com/kici-dev/kici-public> — see <https://github.com/kici-dev/kici-public/blob/main/CONTRIBUTING.md> for the back-port flow, the issue triage policy, and how to route security reports.
58
+
59
+ ## Status
60
+
61
+ Pre-1.0 / experimental. Do not run in production CI for anything you can't afford to break.
package/bin/kici.js CHANGED
@@ -1,15 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // Register the shared oxc-transform ESM loader hook so workflow .ts files are
3
- // transformed on the fly. This gives full TypeScript coverage (enums, parameter
4
- // properties, namespaces, etc.) without relying on Node's experimental
5
- // --experimental-transform-types flag. The hook's resolve() half also rewrites
6
- // `./foo.js` specifiers to `./foo.ts` when only the .ts sibling exists, matching
7
- // the TypeScript-ESM convention `allowImportingTsExtensions`.
8
- //
9
- // Source of truth for the hook: packages/shared/src/ts-loader-hook.ts — same
10
- // module is registered by the agent's sandbox process so CLI-local behavior
11
- // matches agent-side execution.
12
- import { register } from 'node:module';
13
-
14
- register('@kici-dev/shared/ts-loader-hook', import.meta.url);
2
+ // The TypeScript ESM loader hook is registered lazily by the compiler at the
3
+ // points that load workflow .ts (compile / run local / test / fixtures), so
4
+ // commands that never touch user .ts (login, status, org, …) pay no hook tax.
15
5
  await import('@kici-dev/compiler/cli');
package/package.json CHANGED
@@ -1,17 +1,22 @@
1
1
  {
2
2
  "name": "kici",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "Developer CLI for the KiCI CI/CD stack. Compile workflows, run them locally, and interact with a remote orchestrator from the command line.",
5
5
  "keywords": [
6
- "kici",
7
6
  "ci",
8
- "cd",
9
- "ci-cd",
7
+ "cicd",
8
+ "continuous-integration",
10
9
  "typescript",
11
- "workflows",
12
- "devops",
13
- "cli"
10
+ "workflow",
11
+ "cli",
12
+ "devops"
14
13
  ],
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/kici-dev/kici-public.git",
17
+ "directory": "packages/kici"
18
+ },
19
+ "bugs": "https://github.com/kici-dev/kici-public/issues",
15
20
  "homepage": "https://kici.dev",
16
21
  "author": {
17
22
  "name": "KiCI",
@@ -30,8 +35,8 @@
30
35
  "access": "public"
31
36
  },
32
37
  "dependencies": {
33
- "@kici-dev/compiler": "0.1.13",
34
- "@kici-dev/shared": "0.1.13"
38
+ "@kici-dev/compiler": "0.1.15",
39
+ "@kici-dev/core": "0.1.15"
35
40
  },
36
41
  "files": [
37
42
  "bin",