k9o 1.2.0 → 1.4.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +55 -1
- data/README.md +359 -68
- data/lib/k9o/ai.rb +15 -0
- data/lib/k9o/approvals.rb +159 -0
- data/lib/k9o/audit.rb +12 -14
- data/lib/k9o/client.rb +11 -7
- data/lib/k9o/compute.rb +32 -15
- data/lib/k9o/data.rb +67 -1
- data/lib/k9o/functions.rb +48 -9
- data/lib/k9o/gate.rb +9 -18
- data/lib/k9o/http_transport.rb +10 -5
- data/lib/k9o/kibo.rb +3 -3
- data/lib/k9o/me.rb +27 -87
- data/lib/k9o/org.rb +81 -68
- data/lib/k9o/orgs.rb +1 -0
- data/lib/k9o/policies.rb +25 -6
- data/lib/k9o/projects.rb +43 -8
- data/lib/k9o/query.rb +174 -0
- data/lib/k9o/realtime.rb +13 -35
- data/lib/k9o/region.rb +20 -18
- data/lib/k9o/schema.rb +35 -0
- data/lib/k9o/streams.rb +94 -0
- data/lib/k9o/studio.rb +21 -11
- data/lib/k9o/url_grammar.rb +46 -20
- data/lib/k9o/vault.rb +76 -80
- data/lib/k9o/version.rb +1 -1
- data/lib/k9o.rb +4 -0
- data/sig/k9o/ai.rbs +4 -0
- data/sig/k9o/approvals.rbs +49 -0
- data/sig/k9o/gate.rbs +7 -6
- data/sig/k9o/query.rbs +26 -0
- data/sig/k9o/region.rbs +14 -3
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eaf2bcfb047371f56983f311783294b81d482812171a893b3e57ea5361d9a5e1
|
|
4
|
+
data.tar.gz: 1afe1668983a800d3c061f11e5f6117bda5eff6459b1f7aab210b091f7f8eaaa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4595a0da65edfee744aac3adac7f8f96b4aa67352bc013dca3c3b8bcb534182992f83387bd554e17c9da50c07275a0172fb8ab4488dab6a23b81570fbcefaf2
|
|
7
|
+
data.tar.gz: 9686288bd9ea43dbabb7148e6033d78a45124b16f72774856ac26d893638f1794dc64948e4778fb27237d9a310c62c20f17de4786bc4aa528a3c727e807be45a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,62 @@
|
|
|
1
1
|
# Changelog — k9o (Ruby)
|
|
2
2
|
|
|
3
|
+
## 1.4.0 (unreleased)
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- `query(sql, params)`: one read-only SQL statement; an array binds `$1, $2, ...`, a hash binds `:name` placeholders.
|
|
8
|
+
- `search(collection, column:, q:)`: full-text search over one column, plus `text_search` and `vector_search` on `select`.
|
|
9
|
+
- `ai.generate`: text generation from a prompt (verb sugar over `compute.llms.invoke`; `model` defaults to the org's default LLM).
|
|
10
|
+
- `streams` namespace for user data streams: `create`, `list`, `get`, `delete`, `publish`, `replay` and `subscribe`.
|
|
11
|
+
`subscribe` tails live events over SSE and reconnects from the last sequence when the server closes the connection.
|
|
12
|
+
|
|
13
|
+
- `approvals` namespace for the pending-change queue: `list`, `get`, `approve`, `reject` and `bulk`.
|
|
14
|
+
- `approval_policies` namespace: `list`, `create` and `delete`.
|
|
15
|
+
- `schema.collections.list`: the project's collections with row counts and last migration, paged by cursor.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- The README description now covers streams and realtime, and the platform overview moved to an "About Kilimanjaro" appendix.
|
|
20
|
+
- Function deploy examples use the sandbox tier.
|
|
21
|
+
|
|
22
|
+
## 1.3.0 — 2026-10-26
|
|
23
|
+
|
|
24
|
+
Every method now matches the gateway.
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- `projects.create` takes `display_name:` (and optional `slug:`, `region:`, `custody_mode:`, ...);
|
|
29
|
+
`projects.get` and `projects.update` use the projects routes.
|
|
30
|
+
- `functions.deploy` takes `name:`, `runtime:`, `tier:` (`gateway` or `sandbox`), `artifact_key:`, `version:` and `description:`.
|
|
31
|
+
Inline code is gone.
|
|
32
|
+
- `functions.invoke` sends the payload as `{payload}`.
|
|
33
|
+
- `policies.create`, `update` and `validate` take a `policy:` document (plus optional `rules:`, `editor_mode:`);
|
|
34
|
+
`policies.list` takes only `status:`.
|
|
35
|
+
- `audit.query` filters are `event_type:`, `actor_id:`, `after:`, `before:`, `limit:` and `cursor:`.
|
|
36
|
+
- Org roles, identity providers and default model use the current routes; `smtp.set` uses `password_ref:` and `from_address:`;
|
|
37
|
+
`smtp.test` takes `to:` and `subject:`.
|
|
38
|
+
- `me.api_tokens.create` takes `label:` and `scope_manifest:` (and `ttl_seconds:`); `me.sessions.revoke` and `revoke_all` use new routes.
|
|
39
|
+
- `compute.llms.invoke` settings are sent flat, and the result has `content` and `usage`.
|
|
40
|
+
- `studio.workflows.trigger` sends the context as `triggerContext`.
|
|
41
|
+
- `gate.sign_out` requires the refresh token.
|
|
42
|
+
- The API host comes from the base URL: any `<org>.api.<apex>` host works and no apex is hardcoded.
|
|
43
|
+
`https://api.k9o.io` is only the default.
|
|
44
|
+
|
|
45
|
+
### Removed
|
|
46
|
+
|
|
47
|
+
- `gate.verify_session`, `gate.hosted`, `realtime.replay` and `realtime.subscribe_poll`.
|
|
48
|
+
- `me.notifications`, `me.audit_log` and `me.data_export`.
|
|
49
|
+
- `org.groups.create`, `org.groups.delete`, `org.members.get` and `org.smtp.get`.
|
|
50
|
+
|
|
51
|
+
### Added
|
|
52
|
+
|
|
53
|
+
- `functions.upload_artifact(bytes, kind)` uploads a build and returns the `artifactKey` for `deploy`.
|
|
54
|
+
- `UrlGrammar.parse_api_host` reads the org, region and apex from any gateway host.
|
|
55
|
+
- A contract test checks every method against the gateway's API description.
|
|
56
|
+
|
|
3
57
|
## 1.2.0 — 2026-10-25
|
|
4
58
|
|
|
5
|
-
- The README now introduces the Kilimanjaro
|
|
59
|
+
- The README now introduces the Kilimanjaro building blocks (Keep, Pulse, Gate, Kibo). No change to the public API.
|
|
6
60
|
|
|
7
61
|
## 1.1.1 — 2026-10-25
|
|
8
62
|
|