@astrale-os/cli 1.0.0-beta.30 → 1.0.0-beta.32
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/README.md +5 -1
- package/dist/astrale.js +178 -57
- package/dist/public/connect-core.js +42 -13
- package/dist/public/keys/index.js +14 -0
- package/dist/public/paths/index.js +14 -0
- package/dist/types/connection/auth.d.ts +1 -0
- package/dist/types/connection/credential.d.ts +1 -1
- package/dist/types/connection/lifetime.d.ts +6 -0
- package/dist/types/lib/credential-lifetime.d.ts +3 -0
- package/dist/types/lib/idp-session.d.ts +2 -0
- package/dist/types/lib/idp.d.ts +1 -1
- package/dist/types/state/exchange-credentials.d.ts +1 -1
- package/package.json +1 -1
- package/src/commands/__tests__/read-commands.test.ts +2 -2
- package/src/commands/query.ts +5 -5
- package/src/commands/update.ts +3 -2
- package/src/connection/.spec/architecture.md +5 -2
- package/src/connection/.spec/flows/session.ts +2 -1
- package/src/connection/.spec/laws/connection.ts +9 -1
- package/src/connection/.spec/layout.ts +1 -0
- package/src/connection/__tests__/credential.test.ts +115 -0
- package/src/connection/__tests__/exchange.test.ts +94 -9
- package/src/connection/auth.ts +20 -4
- package/src/connection/credential.ts +29 -8
- package/src/connection/exchange.ts +65 -7
- package/src/connection/lifetime.ts +25 -0
- package/src/graph/.spec/api.d.ts +1 -1
- package/src/graph/.spec/laws/documents.ts +7 -7
- package/src/graph/__tests__/query.test.ts +12 -5
- package/src/graph/query.ts +9 -11
- package/src/lib/__tests__/idp-session.driver.ts +10 -3
- package/src/lib/__tests__/idp-session.test.ts +25 -0
- package/src/lib/__tests__/skills.test.ts +27 -2
- package/src/lib/credential-lifetime.ts +24 -0
- package/src/lib/idp-session.ts +26 -4
- package/src/lib/idp.ts +24 -4
- package/src/lib/skills/sync.ts +72 -8
- package/src/program/__tests__/program.test.ts +39 -2
- package/src/state/__tests__/exchange-credentials.test.ts +112 -5
- package/src/state/exchange-credentials.ts +26 -8
- package/studio/server/cli-consumers.test.ts +1 -1
- package/studio/server/cli.test.ts +2 -2
- package/studio/server/views/target.ts +1 -1
|
@@ -45,7 +45,7 @@ test('machine runner uses the exact descriptor, appends json mode, and versions
|
|
|
45
45
|
})
|
|
46
46
|
|
|
47
47
|
const result = await runStudioCliJson(
|
|
48
|
-
['query', '--
|
|
48
|
+
['query', '--class', '/:example.dev:class.Issue'],
|
|
49
49
|
decodeJsonObject,
|
|
50
50
|
)
|
|
51
51
|
|
|
@@ -55,7 +55,7 @@ test('machine runner uses the exact descriptor, appends json mode, and versions
|
|
|
55
55
|
exitCode: 0,
|
|
56
56
|
timedOut: false,
|
|
57
57
|
data: {
|
|
58
|
-
command: ['query', '--
|
|
58
|
+
command: ['query', '--class', '/:example.dev:class.Issue', '--json'],
|
|
59
59
|
},
|
|
60
60
|
})
|
|
61
61
|
})
|