@kodax-ai/kodax 0.7.69 → 0.7.71
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/CHANGELOG.md +187 -1
- package/LICENSE +158 -191
- package/README.md +100 -17
- package/README_CN.md +77 -11
- package/config-templates/integrations/a2a.example.jsonc +62 -18
- package/dist/chunks/{agent-DQRXT6M7.js → agent-X2EWQADL.js} +1 -1
- package/dist/chunks/argument-completer-BLNXDO2F.js +2 -0
- package/dist/chunks/chunk-23X6REO4.js +46 -0
- package/dist/chunks/{chunk-Y4WOTWUC.js → chunk-44QXPEEE.js} +1 -1
- package/dist/chunks/chunk-4DY756KL.js +70 -0
- package/dist/chunks/{chunk-AWMTNUDS.js → chunk-52JSZ77P.js} +1 -1
- package/dist/chunks/{chunk-I4TPQEJN.js → chunk-64NQBOSN.js} +1 -1
- package/dist/chunks/{chunk-URC6ZI6P.js → chunk-A2TFSV5M.js} +1 -1
- package/dist/chunks/{chunk-ZG4DMYBS.js → chunk-A574DBTV.js} +2 -2
- package/dist/chunks/{chunk-VAZ25MDX.js → chunk-F7KGYHJ3.js} +2 -2
- package/dist/chunks/{chunk-M7TCFYTO.js → chunk-GVTM4Z6O.js} +66 -22
- package/dist/chunks/{chunk-PA76WUBL.js → chunk-PHH4TRGF.js} +2 -2
- package/dist/chunks/chunk-PVUXONQB.js +366 -0
- package/dist/chunks/{chunk-WW2O2DEP.js → chunk-SX2WFHIS.js} +1 -1
- package/dist/chunks/{chunk-4WIODYOH.js → chunk-T7LYK53M.js} +2 -2
- package/dist/chunks/{chunk-F7C7J6IM.js → chunk-VRSVNU2Y.js} +3 -3
- package/dist/chunks/chunk-Y5XKAN7C.js +755 -0
- package/dist/chunks/{chunk-NGJURAY5.js → chunk-Z535BARK.js} +4 -4
- package/dist/chunks/chunk-ZJIMT5I3.js +78 -0
- package/dist/chunks/compaction-config-5KKKXYFT.js +2 -0
- package/dist/chunks/{construction-bootstrap-GH6RW6ST.js → construction-bootstrap-OXDDDW6O.js} +1 -1
- package/dist/chunks/{dist-DRBKYVHF.js → dist-GOUP4YVE.js} +1 -1
- package/dist/chunks/{dist-RWL2RBO4.js → dist-IXJRJ27U.js} +1 -1
- package/dist/chunks/host-VRKDAN26.js +2 -0
- package/dist/chunks/run-manager-Z3W6MDO7.js +2 -0
- package/dist/chunks/{utils-QYE5Y73D.js → utils-CFOXDCB5.js} +1 -1
- package/dist/index.d.ts +18 -18
- package/dist/index.js +6 -6
- package/dist/kodax_cli.js +1365 -1296
- package/dist/provider-capabilities.json +101 -57
- package/dist/runtime-worker.js +1224 -1156
- package/dist/sdk-a2a.d.ts +187 -22
- package/dist/sdk-a2a.js +8 -7
- package/dist/sdk-agent.d.ts +49 -20
- package/dist/sdk-agent.js +1 -1
- package/dist/sdk-coding.d.ts +33 -25
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-experimental-memory.d.ts +1 -1
- package/dist/sdk-experimental-memory.js +1 -1
- package/dist/sdk-llm.d.ts +7 -7
- package/dist/sdk-llm.js +1 -1
- package/dist/sdk-mcp.d.ts +2 -2
- package/dist/sdk-mcp.js +1 -1
- package/dist/sdk-media.d.ts +1 -1
- package/dist/sdk-media.js +1 -1
- package/dist/sdk-repl.d.ts +17 -17
- package/dist/sdk-repl.js +1 -1
- package/dist/sdk-runtime.d.ts +96 -17
- package/dist/sdk-runtime.js +1 -1
- package/dist/sdk-session.d.ts +7 -7
- package/dist/sdk-session.js +1 -1
- package/dist/sdk-skills.js +1 -1
- package/dist/semantic-worker.js +10 -10
- package/dist/types-chunks/{base.d-CYjtB68X.d.ts → base.d-Cz_rwpOi.d.ts} +2 -1
- package/dist/types-chunks/{bash-prefix-extractor.d-BkIA8Wto.d.ts → bash-prefix-extractor.d-YoiZl5yt.d.ts} +15 -5
- package/dist/types-chunks/{capability-learning.d-WtsyRv3O.d.ts → capability-learning.d-_lR0J4iR.d.ts} +1 -1
- package/dist/types-chunks/{capability.d-3C62G8Eq.d.ts → capability.d-K664nHOS.d.ts} +21 -6
- package/dist/types-chunks/{capsule.d-xJvfh4YR.d.ts → capsule.d-CK5Pfz1k.d.ts} +3 -3
- package/dist/types-chunks/{commands.d-DkPfcQWG.d.ts → commands.d-D6g2jq8V.d.ts} +4 -4
- package/dist/types-chunks/{guardrail.d-R7AiGfrI.d.ts → guardrail.d-DdeDWnVu.d.ts} +3 -3
- package/dist/types-chunks/{guardrail.d-6ZDbNbHO.d.ts → guardrail.d-DilYC1dh.d.ts} +1 -1
- package/dist/types-chunks/{manager.d-CoEuPRAo.d.ts → manager.d-B67TmPO1.d.ts} +27 -3
- package/dist/types-chunks/{public-api.d-7G4--RZE.d.ts → public-api.d-BvCp5VkW.d.ts} +3 -3
- package/dist/types-chunks/{resolver.d-CIVoGc97.d.ts → resolver.d-ssgNSlrh.d.ts} +2 -2
- package/dist/types-chunks/{run-manager.d-BaXtkryp.d.ts → run-manager.d-DxU3SSGR.d.ts} +1 -1
- package/dist/types-chunks/{sdk-session-BQccrODn.d.ts → sdk-session-wGpa7X_U.d.ts} +4 -4
- package/dist/types-chunks/{types.d-CJR7t6iW.d.ts → types.d-CEZZSY9s.d.ts} +2 -2
- package/dist/types-chunks/{types.d-BtC4yLYO.d.ts → types.d-CRCaLt_s.d.ts} +55 -7
- package/dist/types-chunks/{types.d-TTvpAGWf.d.ts → types.d-Cqaw71Ax.d.ts} +4 -2
- package/dist/types-chunks/{types.d-C9YHEAmA.d.ts → types.d-CzsLFqmf.d.ts} +5 -5
- package/dist/types-chunks/{utils.d-BbB5jzi1.d.ts → utils.d-Cb6vdvFM.d.ts} +5 -5
- package/docs/SDK_EMBEDDER_GUIDE.md +357 -55
- package/package.json +5 -2
- package/dist/chunks/argument-completer-RSK6CCGP.js +0 -2
- package/dist/chunks/chunk-NGHQIGVW.js +0 -46
- package/dist/chunks/chunk-PQ3XUSY2.js +0 -357
- package/dist/chunks/chunk-UJEMSPM5.js +0 -78
- package/dist/chunks/chunk-VYKFM3TB.js +0 -751
- package/dist/chunks/chunk-Z4PPLJF2.js +0 -60
- package/dist/chunks/compaction-config-ABLL6UH3.js +0 -2
- package/dist/chunks/host-7SAB4WEC.js +0 -2
- package/dist/chunks/run-manager-XMDKTONJ.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,193 @@ All notable changes to this project will be documented in this file.
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
-
## [0.7.
|
|
9
|
+
## [0.7.71] - 2026-07-17
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **Kimi Code K3 support.** The `kimi-code` subscription provider now exposes
|
|
14
|
+
`k3-256k` (Moderato) and `k3` (1,048,576 context tokens, Allegretto+) as
|
|
15
|
+
explicit catalog choices, alongside `kimi-for-coding-highspeed` and the
|
|
16
|
+
stable `kimi-for-coding` default. Both K3 choices send the upstream model id
|
|
17
|
+
`k3`, so users do not need to override compaction settings for their plan.
|
|
18
|
+
K3 sends its effort inside `thinking.effort` on both Anthropic- and
|
|
19
|
+
OpenAI-compatible transports, defaults omitted reasoning to `max`, and
|
|
20
|
+
preserves both legacy `reasoning=false` and explicit `effort=none` as disabled
|
|
21
|
+
thinking. Static capability, reasoning, media, cost-tracking, and opt-in
|
|
22
|
+
real-wire regressions cover the subscription routes and local context-tier
|
|
23
|
+
mapping.
|
|
24
|
+
- **Standards-based A2A authentication and Agent activation (FEATURE_267/268
|
|
25
|
+
closure).** Outbound A2A entries can use OAuth 2.0 Client Credentials with an
|
|
26
|
+
external Authorization Server, while inbound KodaX Agents can validate RFC
|
|
27
|
+
9068 JWT access tokens against an external issuer/JWKS as an OAuth Resource
|
|
28
|
+
Server. The fixed environment Bearer profile remains available for
|
|
29
|
+
compatibility. A hot `agents.<name>.enabled` switch plus `kodax a2a
|
|
30
|
+
enable|disable` lets operators keep many configured third-party Agents while
|
|
31
|
+
controlling which ones admit new orchestration; in-flight tasks are not
|
|
32
|
+
cancelled.
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- **External Agent SDK migration notes.** `AgentRegistrationService` now
|
|
37
|
+
requires `setEnabled`; custom implementations must add the same
|
|
38
|
+
revision/owner-conditional enablement operation. `executorConfig` and
|
|
39
|
+
executor-reference `metadata` are `AgentJsonObject` values and reject class
|
|
40
|
+
instances, accessors, circular references, and other non-JSON-safe data at
|
|
41
|
+
runtime. SDK daemon auto-start without an explicit `homeDir` now follows the
|
|
42
|
+
resolved `KODAX_HOME`; embedders that intentionally need the OS-home endpoint
|
|
43
|
+
must pass `homeDir`, while custom endpoints remain attach-only.
|
|
44
|
+
|
|
45
|
+
### Fixed
|
|
46
|
+
|
|
47
|
+
- **A2A durable-owner upgrade and admission concurrency.** New inbound tasks
|
|
48
|
+
persist a non-secret principal-key scheme marker. Pre-realm tasks remain
|
|
49
|
+
inaccessible during normal serving, but stopped operators can use
|
|
50
|
+
`kodax a2a migrate-tasks` to dry-run and explicitly apply the configured
|
|
51
|
+
owner mapping; custom hosts can use the public
|
|
52
|
+
`migrateA2ALegacyTaskOwners()` SDK with exact mappings. Ambiguous or live-
|
|
53
|
+
store migration fails closed. Global task capacity now uses a synchronous
|
|
54
|
+
pending reservation, keeping slow workspace/session/run preparation outside
|
|
55
|
+
any global lock while preserving exact limits and per-principal ordering.
|
|
56
|
+
- **Bounded External Agent and daemon shutdown/startup.** Executor-plane close
|
|
57
|
+
now has a 30-second default upper bound (overrideable with `closeTimeoutMs`),
|
|
58
|
+
obsolete-executor cleanup runs outside the serialized registration mutation
|
|
59
|
+
lane, and revision tombstones are SHA-256 fingerprints capped at 4,096
|
|
60
|
+
entries. Current registrations and task snapshots continue to enforce exact
|
|
61
|
+
revision immutability after older, unreferenced tombstones age out. Daemon
|
|
62
|
+
auto-start now races health checks against the spawned child's exit, keeps
|
|
63
|
+
the child referenced until readiness, and terminates it on early exit,
|
|
64
|
+
timeout, identity mismatch, or when another daemon wins ownership. A startup
|
|
65
|
+
candidate that exits after losing the owner race now lets its SDK caller wait
|
|
66
|
+
for and attach to the competing owner instead of failing that caller.
|
|
67
|
+
- **Faster packaged-Electron gates.** Release jobs build once and reuse that
|
|
68
|
+
output for both the Windows Electron smoke and binary packaging. CI and
|
|
69
|
+
release jobs cache the version-pinned Electron smoke toolchain, whose local
|
|
70
|
+
directory is now explicitly ignored. Both paths explicitly materialize the
|
|
71
|
+
Electron binary after cache restore or dependency installation, preventing a
|
|
72
|
+
successful npm package install with a missing `electron/dist` from bypassing
|
|
73
|
+
the real packaged-daemon gate.
|
|
74
|
+
- **A2A authentication and reconciliation hardening.** Card-level and
|
|
75
|
+
Skill-level security requirements now fail closed unless one complete
|
|
76
|
+
alternative is satisfiable. Card, RPC, and token origins remain separate;
|
|
77
|
+
exact credentials used by active RPC/SSE requests remain retained through
|
|
78
|
+
response parsing and are redacted from errors and successful results;
|
|
79
|
+
concurrent rejected-token invalidation cannot discard a newer token and each
|
|
80
|
+
RPC retries at most once. Direct SDK and file configuration now share strict
|
|
81
|
+
issuer, endpoint, resource, and RFC 6749 scope validation. Task ownership
|
|
82
|
+
also requires a stable `securityRealm` and hashes the
|
|
83
|
+
`(realm, subject, tenant)` tuple: built-in Bearer/OAuth derive realms from the
|
|
84
|
+
token-env name/exact issuer, custom authentication must provide one, authority
|
|
85
|
+
switches and legacy pre-realm tasks fail closed, and same-realm restart
|
|
86
|
+
preserves new-format tasks. Authentication/effect changes participate in
|
|
87
|
+
executor revisions; registration persistence
|
|
88
|
+
precedes catalog mutation; first-class management ownership plus revision-
|
|
89
|
+
conditional mutations protects unrelated or concurrently replaced SDK
|
|
90
|
+
registrations, including same-revision owner takeovers; changed authority is
|
|
91
|
+
fenced before parallel discovery; live drift is repaired; and a final
|
|
92
|
+
post-preflight admission check closes disable/removal races without
|
|
93
|
+
rediscovering unchanged peers. Internal immutable route snapshots preserve
|
|
94
|
+
admitted task input/cancel/reconcile routing across registration update or
|
|
95
|
+
removal and Runtime restart without exposing secret material or expanding the
|
|
96
|
+
public task DTO. Admission now rechecks globally unique task IDs, task writes
|
|
97
|
+
publish to memory only after durable persistence, and terminal event-write
|
|
98
|
+
failures cannot strand waiters or route snapshots. Returned registration
|
|
99
|
+
summaries are detached, executor cache keys are unambiguous tuples, and one
|
|
100
|
+
ownership conflict or observer failure cannot abort unrelated Agent
|
|
101
|
+
reconciliation or leave unawaited activation work. Daemon A2A ownership is
|
|
102
|
+
now bound to the exact resolved config home—`<homeDir>/.kodax` when explicitly
|
|
103
|
+
selected, otherwise the possibly arbitrary `KODAX_HOME`—recorded in daemon
|
|
104
|
+
state, and checked across every local profile before mutation. Legacy
|
|
105
|
+
non-empty version-1 A2A files require an explicit stopped-owner migration,
|
|
106
|
+
while version-2 migration is a read-only idempotent no-op. Failed initial A2A
|
|
107
|
+
reconciliation also closes the newly created Runtime before releasing daemon
|
|
108
|
+
ownership.
|
|
109
|
+
- **A2A post-closure lifecycle and resource correctness.** Executor operations
|
|
110
|
+
and close now drain without disposal races; configured artifact references
|
|
111
|
+
and direct `a2a call` use a bounded reference-only/no-fetch policy. CLI task
|
|
112
|
+
RPC/SSE permits 32 MiB while Card/interface/OAuth/security metadata remains
|
|
113
|
+
capped at 2 MiB, and unsupported required Card extensions fail discovery.
|
|
114
|
+
Daemon mutation now requires independently owner-derived
|
|
115
|
+
`externalAgentAdmin: 1` and `a2aConfigReconciler: 1`; capability overrides
|
|
116
|
+
cannot forge them. Public `/a2a` config exports are read-only, with raw writers
|
|
117
|
+
retained inside the fenced CLI owner. Inbound serving now has a global
|
|
118
|
+
admission reservation, subscribe-first replay, authentication-before-body,
|
|
119
|
+
exact JSON/SSE media matching, an admitted-handler close barrier, and fixed
|
|
120
|
+
four-per-task/eight-per-server/24 MiB-per-stream SSE ceilings without
|
|
121
|
+
terminating the underlying task for one slow subscriber.
|
|
122
|
+
- **Public Kimi Open Platform parity and live coverage.** `kimi` now defaults to
|
|
123
|
+
`kimi-k2.7-code`, exposes the HighSpeed route and wire-legal K2.5 id, uses the
|
|
124
|
+
exact 262,144-token limits and current prices, and has gated real-key coverage
|
|
125
|
+
for credential verification, K2.7 thinking, forced-tool fallback, and K2.6
|
|
126
|
+
thinking disablement. K2.7 disable requests now fail locally instead of being
|
|
127
|
+
silently ignored, while K2.6 disable requests emit the required wire toggle.
|
|
128
|
+
|
|
129
|
+
- **Packaged Electron shared-daemon auto-start.** Runtime SDK embedders running
|
|
130
|
+
from packaged/asar Electron applications now launch the detached daemon child
|
|
131
|
+
through a bootstrap-only Node execution boundary without changing the host or
|
|
132
|
+
long-lived daemon environment, leaking `ELECTRON_RUN_AS_NODE` to user child
|
|
133
|
+
processes, or opening a second GUI instance. Trusted internal JavaScript
|
|
134
|
+
children retain a bounded Electron-to-Node launch path. Missing packaged CLI
|
|
135
|
+
sidecars fail immediately, disabled `RunAsNode` fuses receive an actionable
|
|
136
|
+
timeout diagnostic, and a real Windows Electron 42.5.0 + asar smoke now gates
|
|
137
|
+
CI and releases. Public docs also distinguish CLI-style `homeDir` from the
|
|
138
|
+
lower-level `.kodax` path used by `KODAX_HOME`.
|
|
139
|
+
- **Cross-platform release template checks.** Generated configuration templates
|
|
140
|
+
now compare normalized line endings, so Windows CRLF checkouts no longer report
|
|
141
|
+
false drift during binary builds.
|
|
142
|
+
|
|
143
|
+
## [0.7.70] - 2026-07-15
|
|
144
|
+
|
|
145
|
+
### Added
|
|
146
|
+
|
|
147
|
+
- **Typed shared-daemon rollback management (FEATURE_269 patch).** Daemon
|
|
148
|
+
facades now expose revisioned management inspection and atomic
|
|
149
|
+
`stopForInline()`, plus public owner-fence queries and revision-free daemon
|
|
150
|
+
re-enable helpers for safe embedder rollback workflows.
|
|
151
|
+
|
|
152
|
+
### Changed
|
|
153
|
+
|
|
154
|
+
- **KAI-FCL licensing from v0.7.70.** Official KodaX source, binaries, and npm
|
|
155
|
+
packages now use the KodaX-AI Fair Core License 1.0: community use remains
|
|
156
|
+
available, while commercial or managed use requires KodaX-AI authorization.
|
|
157
|
+
Previously released Apache-2.0 copies retain their original grants.
|
|
158
|
+
|
|
159
|
+
### Fixed
|
|
160
|
+
|
|
161
|
+
- **A2A interoperability and execution boundaries.** Selected Card interfaces
|
|
162
|
+
remain bound to their trusted discovery origin and advertised Bearer scheme;
|
|
163
|
+
concrete recursive reads and child runs retain the parent policy ceiling;
|
|
164
|
+
pending input resumes the original Runtime run; task retention, history,
|
|
165
|
+
cleanup, stable cursor pagination, protocol correlation/version, authenticated
|
|
166
|
+
SSE, appended artifact chunks, and early-stream-EOF semantics are bounded;
|
|
167
|
+
and direct, staged, or successfully promoted admitted Skill outputs are
|
|
168
|
+
returned as negotiated artifacts without exposing ordinary workspace writes.
|
|
169
|
+
- **MCP multilingual zero-match efficiency.** Compact CJK queries now segment
|
|
170
|
+
into words, while cross-language lexical zero matches can return a lossless
|
|
171
|
+
shared-prefix exact-id inventory only when it is no more expensive than a
|
|
172
|
+
normal default search page and fits the real result capacity. Oversized
|
|
173
|
+
recovery emits one concise catalog-language retry with no biased partial list.
|
|
174
|
+
Fully unavailable catalogs no longer trigger a duplicate inventory attempt;
|
|
175
|
+
concurrent discovery is coalesced, in-flight invalidation cannot be overwritten,
|
|
176
|
+
and filtered cursor revisions ignore unrelated capability families.
|
|
177
|
+
- **Logical daemon client accounting.** Stop preflight now counts only live,
|
|
178
|
+
initialized SDK clients. Daemon self-connections and read-only health probes
|
|
179
|
+
are excluded, and awaited client close converges the count across processes.
|
|
180
|
+
Health probes also tolerate the daemon token disappearing during a concurrent
|
|
181
|
+
shutdown or owner transition instead of leaking an `ENOENT` race to clients.
|
|
182
|
+
- **Preflight/stop race.** Rollback commit gates new clients and mutations,
|
|
183
|
+
validates the same Runtime, management revision, owner-policy revision, and
|
|
184
|
+
blockers, and changes sticky inline policy while the verified daemon still
|
|
185
|
+
owns the profile fence. Stale commits fail with structured `conflict` and do
|
|
186
|
+
not stop or change policy.
|
|
187
|
+
- **Complete rollback draining and background-work blockers.** Credential and
|
|
188
|
+
Host Tool bridge state can no longer change after draining starts, while
|
|
189
|
+
running/paused Workflows and non-terminal or unknown External Agent tasks now
|
|
190
|
+
block stop and participate in the management revision. Reverse-result frames
|
|
191
|
+
remain outside the durable journal so credentials and Host Tool results are
|
|
192
|
+
not persisted. In-flight stop conflicts identify the active mutation methods
|
|
193
|
+
and counts so lifecycle stalls can be diagnosed without reproducing them.
|
|
194
|
+
|
|
195
|
+
## [0.7.69] - 2026-07-15
|
|
10
196
|
|
|
11
197
|
> Scope note: this release delivers **FEATURE_267**, **FEATURE_268**, and
|
|
12
198
|
> **FEATURE_269** as one bounded interoperability/runtime release: bidirectional
|
package/LICENSE
CHANGED
|
@@ -1,191 +1,158 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
incidental, or consequential damages of any character arising as a
|
|
160
|
-
result of this License or out of the use or inability to use the
|
|
161
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
-
other commercial damages or losses), even if such Contributor
|
|
164
|
-
has been advised of the possibility of such damages.
|
|
165
|
-
|
|
166
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
-
or other liability obligations and/or rights consistent with this
|
|
170
|
-
License. However, in accepting such obligations, You may act only
|
|
171
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
-
defend, and hold each Contributor harmless for any liability
|
|
174
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
-
of your accepting any such warranty or additional liability.
|
|
176
|
-
|
|
177
|
-
END OF TERMS AND CONDITIONS
|
|
178
|
-
|
|
179
|
-
Copyright 2026 icetomoyo <icetomoyo@gmail.com> <icetomoyo@163.com>
|
|
180
|
-
|
|
181
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
182
|
-
you may not use this file except in compliance with the License.
|
|
183
|
-
You may obtain a copy of the License at
|
|
184
|
-
|
|
185
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
186
|
-
|
|
187
|
-
Unless required by applicable law or agreed to in writing, software
|
|
188
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
189
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
190
|
-
See the License for the specific language governing permissions and
|
|
191
|
-
limitations under the License.
|
|
1
|
+
KodaX-AI Fair Core License (KAI-FCL) 1.0
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 icetomoyo <icetomoyo@gmail.com> <icetomoyo@163.com>
|
|
4
|
+
|
|
5
|
+
All rights reserved except as expressly granted in this License.
|
|
6
|
+
|
|
7
|
+
This License applies to KodaX releases and files that include this LICENSE file
|
|
8
|
+
or otherwise identify KAI-FCL as their governing license. Earlier KodaX
|
|
9
|
+
releases or files that were distributed under the Apache License, Version 2.0
|
|
10
|
+
remain licensed under Apache-2.0 for those released copies. Third-party
|
|
11
|
+
components remain governed by their own license terms.
|
|
12
|
+
|
|
13
|
+
Effective Version Notice
|
|
14
|
+
|
|
15
|
+
KodaX-AI intends KAI-FCL to govern official KodaX distributions for version
|
|
16
|
+
0.7.70 and later when those distributions are provided by KodaX-AI with this
|
|
17
|
+
LICENSE file, a KAI-FCL notice, or accompanying customer terms.
|
|
18
|
+
|
|
19
|
+
Historical Git tags, source archives, binaries, npm packages, or other copies
|
|
20
|
+
of KodaX that were already distributed with Apache-2.0 license text remain
|
|
21
|
+
licensed under Apache-2.0 for those specific copies. This notice does not
|
|
22
|
+
retroactively revoke rights that were already granted under Apache-2.0.
|
|
23
|
+
|
|
24
|
+
For avoidance of doubt, current and future official enterprise/customer
|
|
25
|
+
packages for KodaX 0.7.70 and later should be delivered with KAI-FCL or
|
|
26
|
+
separate KodaX-AI customer terms.
|
|
27
|
+
|
|
28
|
+
1. Definitions
|
|
29
|
+
|
|
30
|
+
"Software" means KodaX, including its source code, object code, documentation,
|
|
31
|
+
configuration, examples, official npm packages, binaries, and other materials
|
|
32
|
+
distributed by KodaX-AI under this License.
|
|
33
|
+
|
|
34
|
+
"KodaX-AI" means the copyright owner, licensor, or license steward for the
|
|
35
|
+
Software.
|
|
36
|
+
|
|
37
|
+
"You" means the individual or legal entity exercising permissions under this
|
|
38
|
+
License.
|
|
39
|
+
|
|
40
|
+
"Community Use" means use by an individual for personal learning, individual
|
|
41
|
+
non-commercial work, classroom instruction, non-production research, or
|
|
42
|
+
developing and testing changes for contribution to public open-source
|
|
43
|
+
projects.
|
|
44
|
+
|
|
45
|
+
"Commercial or Managed Use" means any use by or for a company, school, lab,
|
|
46
|
+
institution, government agency, or other organization for administration, IT
|
|
47
|
+
operations, team research and development, production work, intranet hosting,
|
|
48
|
+
managed-device deployment, paid service delivery, customer redistribution,
|
|
49
|
+
hosted or managed services, or other business purposes.
|
|
50
|
+
|
|
51
|
+
"Customer Agreement" means a written agreement with KodaX-AI, including
|
|
52
|
+
evaluation terms, an order form, an enterprise agreement, partner terms, or
|
|
53
|
+
another commercial authorization document.
|
|
54
|
+
|
|
55
|
+
"License Entitlement" means a signed offline entitlement file, commonly using
|
|
56
|
+
the `.kodax-license` extension, that identifies product, edition, license
|
|
57
|
+
kind, customer, expiry, enabled features, binding claims, and signature. A
|
|
58
|
+
License Entitlement proves technical authorization; it is not by itself the
|
|
59
|
+
complete legal contract.
|
|
60
|
+
|
|
61
|
+
2. Community Grant
|
|
62
|
+
|
|
63
|
+
Subject to this License, KodaX-AI grants You a limited, non-exclusive,
|
|
64
|
+
non-transferable, no-charge license to download, install, run, inspect, and
|
|
65
|
+
modify the Software solely for Community Use.
|
|
66
|
+
|
|
67
|
+
You may make copies of the Software as reasonably necessary for Your own
|
|
68
|
+
Community Use, backup, testing, and contribution preparation. You may submit
|
|
69
|
+
changes, patches, issues, and documentation improvements to KodaX-AI. Unless a
|
|
70
|
+
separate written contribution agreement says otherwise, You grant KodaX-AI a
|
|
71
|
+
perpetual, worldwide, irrevocable, royalty-free license to use, reproduce,
|
|
72
|
+
modify, distribute, sublicense, and otherwise exploit contributions You submit
|
|
73
|
+
for inclusion in the Software.
|
|
74
|
+
|
|
75
|
+
3. Commercial and Managed Use
|
|
76
|
+
|
|
77
|
+
Commercial or Managed Use is not permitted under the Community Grant.
|
|
78
|
+
|
|
79
|
+
Enterprise evaluation, enterprise production, intranet deployment,
|
|
80
|
+
managed-device deployment, commercial redistribution, partner distribution,
|
|
81
|
+
paid service delivery, or any other Commercial or Managed Use requires a
|
|
82
|
+
Customer Agreement with KodaX-AI and, where the Software requires it, a valid
|
|
83
|
+
License Entitlement.
|
|
84
|
+
|
|
85
|
+
All production customer License Entitlements must include an expiry date unless
|
|
86
|
+
a Customer Agreement expressly says otherwise. Longer commercial terms are
|
|
87
|
+
renewals or replacements, not perpetual local secrets.
|
|
88
|
+
|
|
89
|
+
4. Restrictions
|
|
90
|
+
|
|
91
|
+
Except as expressly allowed by this License or a Customer Agreement, You must
|
|
92
|
+
not:
|
|
93
|
+
|
|
94
|
+
- use the Software for Commercial or Managed Use;
|
|
95
|
+
- sell, rent, lease, sublicense, host, provide, or redistribute the Software to
|
|
96
|
+
third parties;
|
|
97
|
+
- remove, disable, bypass, tamper with, or misrepresent license enforcement,
|
|
98
|
+
entitlement checks, signatures, expiry checks, binding checks, or related
|
|
99
|
+
technical controls;
|
|
100
|
+
- remove or alter copyright, license, attribution, trademark, or third-party
|
|
101
|
+
notices;
|
|
102
|
+
- use KodaX-AI names, logos, product names, or trademarks except to describe
|
|
103
|
+
the origin of the Software accurately;
|
|
104
|
+
- violate applicable law or use the Software to infringe third-party rights.
|
|
105
|
+
|
|
106
|
+
5. Separate Agreements
|
|
107
|
+
|
|
108
|
+
If You have a Customer Agreement with KodaX-AI, that Customer Agreement
|
|
109
|
+
controls for the Software, edition, term, users, sites, features, and use cases
|
|
110
|
+
it covers. This License controls only where the Customer Agreement does not
|
|
111
|
+
grant additional rights or impose different obligations.
|
|
112
|
+
|
|
113
|
+
6. Ownership
|
|
114
|
+
|
|
115
|
+
KodaX-AI and its licensors retain all right, title, and interest in and to the
|
|
116
|
+
Software. No rights are granted except those expressly stated in this License
|
|
117
|
+
or a Customer Agreement.
|
|
118
|
+
|
|
119
|
+
7. Third-Party Software
|
|
120
|
+
|
|
121
|
+
The Software may include or depend on third-party software, packages, models,
|
|
122
|
+
fonts, assets, or tools. Those materials are licensed by their respective
|
|
123
|
+
owners under their own terms. This License does not change third-party license
|
|
124
|
+
obligations.
|
|
125
|
+
|
|
126
|
+
8. Termination
|
|
127
|
+
|
|
128
|
+
Your rights under this License terminate automatically if You violate this
|
|
129
|
+
License and do not cure the violation within 30 days after receiving notice
|
|
130
|
+
from KodaX-AI. Rights also terminate immediately for intentional license
|
|
131
|
+
enforcement bypass, unauthorized Commercial or Managed Use, or unauthorized
|
|
132
|
+
redistribution. After termination, You must stop using and distributing the
|
|
133
|
+
Software, and You must delete copies not otherwise authorized by a Customer
|
|
134
|
+
Agreement or by another license that independently applies to a specific
|
|
135
|
+
released copy.
|
|
136
|
+
|
|
137
|
+
9. Disclaimer of Warranty
|
|
138
|
+
|
|
139
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND "AS AVAILABLE", WITHOUT WARRANTIES OR
|
|
140
|
+
CONDITIONS OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF
|
|
141
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT,
|
|
142
|
+
SECURITY, ACCURACY, OR AVAILABILITY.
|
|
143
|
+
|
|
144
|
+
10. Limitation of Liability
|
|
145
|
+
|
|
146
|
+
TO THE MAXIMUM EXTENT PERMITTED BY LAW, KODAX-AI AND ITS CONTRIBUTORS WILL NOT
|
|
147
|
+
BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, EXEMPLARY, OR
|
|
148
|
+
PUNITIVE DAMAGES, OR FOR LOST PROFITS, LOST REVENUE, LOST DATA, BUSINESS
|
|
149
|
+
INTERRUPTION, GOODWILL LOSS, OR PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
|
|
150
|
+
ARISING OUT OF OR RELATING TO THE SOFTWARE OR THIS LICENSE, EVEN IF ADVISED OF
|
|
151
|
+
THE POSSIBILITY OF SUCH DAMAGES.
|
|
152
|
+
|
|
153
|
+
11. Contact
|
|
154
|
+
|
|
155
|
+
For enterprise evaluation, production licensing, redistribution permission, or
|
|
156
|
+
questions about this License, contact:
|
|
157
|
+
|
|
158
|
+
icetomoyo <icetomoyo@gmail.com> <icetomoyo@163.com>
|