@astrale-domains/services 0.3.0 → 0.3.1
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
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.1](https://github.com/astrale-os/domains/compare/services-v0.3.0...services-v0.3.1) (2026-09-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **services:** own Services by the effective caller ([#152](https://github.com/astrale-os/domains/issues/152)) ([3ffb3e6](https://github.com/astrale-os/domains/commit/3ffb3e635a5ab8c143726ff6a60685559bd392a6))
|
|
9
|
+
* **services:** resolve managed router per environment ([#159](https://github.com/astrale-os/domains/issues/159)) ([6f2b1e7](https://github.com/astrale-os/domains/commit/6f2b1e747cd95274f6b9b8a9fe6d555f50092e7d))
|
|
10
|
+
|
|
3
11
|
## [0.3.0](https://github.com/astrale-os/domains/compare/services-v0.2.6...services-v0.3.0) (2026-09-01)
|
|
4
12
|
|
|
5
13
|
|
package/README.md
CHANGED
|
@@ -12,6 +12,8 @@ deployment evidence in the graph.
|
|
|
12
12
|
- secret values stay write-only at Cloudflare and never enter Astrale mutations or graph state.
|
|
13
13
|
- schedules remain provider state; only the owner may read or replace them.
|
|
14
14
|
- logs are remote evidence admitted by the Cloudflare Provider before a Workflow returns them.
|
|
15
|
+
- the only admitted Worker service binding is the logical platform router; the provider resolves
|
|
16
|
+
it to the selected environment and callers cannot name arbitrary same-account Workers.
|
|
15
17
|
|
|
16
18
|
The View, CLI, and agent consumers read the named Service Queries directly; there is intentionally
|
|
17
19
|
no list Function wrapping `listServicesQuery`. Deployment, secrets, schedules, logs, and deletion
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { nodeClass, property } from '@astrale-os/sdk/schema';
|
|
1
|
+
import { classIcon, nodeClass, property } from '@astrale-os/sdk/schema';
|
|
2
|
+
import { CloudCog } from '@astrale-os/sdk/schema/icons';
|
|
2
3
|
import { z } from 'zod';
|
|
3
4
|
import { deployCloudflareWorker } from '../functions/deploy-cloudflare-worker.js';
|
|
4
5
|
import { Service } from './service.js';
|
|
5
6
|
export const CloudflareWorker = nodeClass({
|
|
6
7
|
description: 'One Service placed in a Cloudflare Workers dispatch namespace.',
|
|
8
|
+
icon: classIcon.lucide(CloudCog),
|
|
7
9
|
extends: [Service],
|
|
8
10
|
properties: {
|
|
9
11
|
deploymentMode: z.enum(['plain', 'revisioned']),
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { K, nodeClass, property, schema as valueSchema, stateProperty, } from '@astrale-os/sdk/schema';
|
|
1
|
+
import { classIcon, K, nodeClass, property, schema as valueSchema, stateProperty, } from '@astrale-os/sdk/schema';
|
|
2
|
+
import { Server } from '@astrale-os/sdk/schema/icons';
|
|
2
3
|
import { z } from 'zod';
|
|
3
4
|
import { deleteServiceSecret } from '../functions/delete-service-secret.js';
|
|
4
5
|
import { deleteService } from '../functions/delete-service.js';
|
|
@@ -13,6 +14,7 @@ import { serviceLifecycle } from '../states/index.js';
|
|
|
13
14
|
export const Service = nodeClass({
|
|
14
15
|
abstract: true,
|
|
15
16
|
description: 'One caller-owned provider-neutral deployed Service.',
|
|
17
|
+
icon: classIcon.lucide(Server),
|
|
16
18
|
extends: [K.classes.Named, K.classes.Descriptable, K.classes.Timestamped],
|
|
17
19
|
properties: {
|
|
18
20
|
providerName: z.string().min(1).max(120),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrale-domains/services",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/astrale-os/domains.git",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"registry": "https://registry.npmjs.org/"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@astrale-domains/shell": "0.1.0-beta.
|
|
32
|
-
"@astrale-os/sdk": "0.5.0-beta.
|
|
31
|
+
"@astrale-domains/shell": "0.1.0-beta.22",
|
|
32
|
+
"@astrale-os/sdk": "0.5.0-beta.106",
|
|
33
33
|
"zod": "4.4.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@astrale-os/adapter-cloudflare": "0.5.0-beta.
|
|
36
|
+
"@astrale-os/adapter-cloudflare": "0.5.0-beta.109",
|
|
37
37
|
"@astrale-os/ox": ">=0.1.4 <1.0.0",
|
|
38
|
-
"@astrale-os/shell": "0.5.0-beta.
|
|
39
|
-
"@astrale-os/shell-react": "0.4.0-beta.
|
|
38
|
+
"@astrale-os/shell": "0.5.0-beta.13",
|
|
39
|
+
"@astrale-os/shell-react": "0.4.0-beta.13",
|
|
40
40
|
"@astrale-os/ui": "0.3.0-beta.25",
|
|
41
41
|
"@cloudflare/workers-types": "5.20260821.1",
|
|
42
42
|
"@tailwindcss/vite": "^4.3.3",
|