Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .agents/skills/cli-api/references/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ csdk schema list --where.<field>.<op> <value> --orderBy <values>
csdk schema list --limit 10 --after <cursor>
csdk schema find-first --where.<field>.<op> <value>
csdk schema get --id <UUID>
csdk schema create --databaseId <UUID> --name <String> --schemaName <String> [--label <String>] [--description <String>] [--smartTags <JSON>] [--category <ObjectCategory>] [--scope <Int>] [--tags <String>] [--isPublic <Boolean>]
csdk schema update --id <UUID> [--databaseId <UUID>] [--name <String>] [--schemaName <String>] [--label <String>] [--description <String>] [--smartTags <JSON>] [--category <ObjectCategory>] [--scope <Int>] [--tags <String>] [--isPublic <Boolean>]
csdk schema create --databaseId <UUID> --name <String> --schemaName <String> [--label <String>] [--description <String>] [--smartTags <JSON>] [--category <ObjectCategory>] [--scope <Int>] [--tags <String>] [--isPublic <Boolean>] [--apiExposure <ApiExposureLevel>]
csdk schema update --id <UUID> [--databaseId <UUID>] [--name <String>] [--schemaName <String>] [--label <String>] [--description <String>] [--smartTags <JSON>] [--category <ObjectCategory>] [--scope <Int>] [--tags <String>] [--isPublic <Boolean>] [--apiExposure <ApiExposureLevel>]
csdk schema delete --id <UUID>
```

Expand Down Expand Up @@ -58,7 +58,7 @@ csdk schema list --where.id.equalTo <value> --orderBy ID_ASC
### Create a schema

```bash
csdk schema create --databaseId <UUID> --name <String> --schemaName <String> [--label <String>] [--description <String>] [--smartTags <JSON>] [--category <ObjectCategory>] [--scope <Int>] [--tags <String>] [--isPublic <Boolean>]
csdk schema create --databaseId <UUID> --name <String> --schemaName <String> [--label <String>] [--description <String>] [--smartTags <JSON>] [--category <ObjectCategory>] [--scope <Int>] [--tags <String>] [--isPublic <Boolean>] [--apiExposure <ApiExposureLevel>]
```

### Get a schema by id
Expand Down
91 changes: 91 additions & 0 deletions .agents/skills/cli-compute/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
---
name: cli-compute
description: CLI tool (csdk) for the compute API — provides CRUD commands for 18 tables and 15 custom operations
---

# cli-compute

<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->

CLI tool (csdk) for the compute API — provides CRUD commands for 18 tables and 15 custom operations

## Usage

```bash
# Context management
csdk context create <name> --endpoint <url>
csdk context use <name>

# Authentication
csdk auth set-token <token>

# Config variables
csdk config set <key> <value>
csdk config get <key>

# CRUD for any table (e.g. get-all-record)
csdk get-all-record list
csdk get-all-record get --id <value>
csdk get-all-record create --<field> <value>

# Non-interactive mode (skip all prompts, use flags only)
csdk --no-tty get-all-record list
```

## Examples

### Set up and query

```bash
csdk context create local --endpoint http://localhost:5000/graphql
csdk context use local
csdk auth set-token <token>
csdk get-all-record list
```

### Non-interactive mode (for scripts and CI)

```bash
csdk --no-tty get-all-record create --<field> <value>
```

## References

See the `references/` directory for detailed per-entity API documentation:

- [context](references/context.md)
- [auth](references/auth.md)
- [config](references/config.md)
- [get-all-record](references/get-all-record.md)
- [function-api-binding](references/function-api-binding.md)
- [function-deployment](references/function-deployment.md)
- [function-graph-ref](references/function-graph-ref.md)
- [function-graph-store](references/function-graph-store.md)
- [function-graph-object](references/function-graph-object.md)
- [function-deployment-event](references/function-deployment-event.md)
- [org-function-execution-log](references/org-function-execution-log.md)
- [function-graph-execution-output](references/function-graph-execution-output.md)
- [function-graph-commit](references/function-graph-commit.md)
- [secret-definition](references/secret-definition.md)
- [function-execution-log](references/function-execution-log.md)
- [function-graph-execution-node-state](references/function-graph-execution-node-state.md)
- [function-graph](references/function-graph.md)
- [org-function-invocation](references/org-function-invocation.md)
- [function-invocation](references/function-invocation.md)
- [function-graph-execution](references/function-graph-execution.md)
- [function-definition](references/function-definition.md)
- [read-function-graph](references/read-function-graph.md)
- [validate-function-graph](references/validate-function-graph.md)
- [init-empty-repo](references/init-empty-repo.md)
- [set-data-at-path](references/set-data-at-path.md)
- [import-definitions](references/import-definitions.md)
- [copy-graph](references/copy-graph.md)
- [save-graph](references/save-graph.md)
- [add-edge-and-save](references/add-edge-and-save.md)
- [add-node-and-save](references/add-node-and-save.md)
- [add-edge](references/add-edge.md)
- [add-node](references/add-node.md)
- [import-graph-json](references/import-graph-json.md)
- [insert-node-at-path](references/insert-node-at-path.md)
- [start-execution](references/start-execution.md)
- [provision-bucket](references/provision-bucket.md)
19 changes: 19 additions & 0 deletions .agents/skills/cli-compute/references/add-edge-and-save.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# addEdgeAndSave

<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->

Execute the addEdgeAndSave mutation

## Usage

```bash
csdk add-edge-and-save --input.clientMutationId <String> --input.graphId <UUID> --input.srcNode <String> --input.srcPort <String> --input.dstNode <String> --input.dstPort <String> --input.message <String>
```

## Examples

### Run addEdgeAndSave

```bash
csdk add-edge-and-save --input.clientMutationId <String> --input.graphId <UUID> --input.srcNode <String> --input.srcPort <String> --input.dstNode <String> --input.dstPort <String> --input.message <String>
```
19 changes: 19 additions & 0 deletions .agents/skills/cli-compute/references/add-edge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# addEdge

<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->

Execute the addEdge mutation

## Usage

```bash
csdk add-edge --input.clientMutationId <String> --input.databaseId <UUID> --input.rootHash <UUID> --input.srcNode <String> --input.srcPort <String> --input.dstNode <String> --input.dstPort <String> --input.context <String> --input.graphName <String>
```

## Examples

### Run addEdge

```bash
csdk add-edge --input.clientMutationId <String> --input.databaseId <UUID> --input.rootHash <UUID> --input.srcNode <String> --input.srcPort <String> --input.dstNode <String> --input.dstPort <String> --input.context <String> --input.graphName <String>
```
19 changes: 19 additions & 0 deletions .agents/skills/cli-compute/references/add-node-and-save.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# addNodeAndSave

<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->

Execute the addNodeAndSave mutation

## Usage

```bash
csdk add-node-and-save --input.clientMutationId <String> --input.graphId <UUID> --input.nodeName <String> --input.nodeType <String> --input.props <JSON> --input.meta <JSON> --input.message <String>
```

## Examples

### Run addNodeAndSave

```bash
csdk add-node-and-save --input.clientMutationId <String> --input.graphId <UUID> --input.nodeName <String> --input.nodeType <String> --input.props <JSON> --input.meta <JSON> --input.message <String>
```
19 changes: 19 additions & 0 deletions .agents/skills/cli-compute/references/add-node.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# addNode

<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->

Execute the addNode mutation

## Usage

```bash
csdk add-node --input.clientMutationId <String> --input.databaseId <UUID> --input.rootHash <UUID> --input.nodeName <String> --input.nodeType <String> --input.context <String> --input.graphName <String> --input.props <JSON> --input.meta <JSON>
```

## Examples

### Run addNode

```bash
csdk add-node --input.clientMutationId <String> --input.databaseId <UUID> --input.rootHash <UUID> --input.nodeName <String> --input.nodeType <String> --input.context <String> --input.graphName <String> --input.props <JSON> --input.meta <JSON>
```
27 changes: 27 additions & 0 deletions .agents/skills/cli-compute/references/auth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Authentication

<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->

Manage authentication tokens for csdk

## Usage

```bash
csdk auth set-token <token>
csdk auth status
csdk auth logout
```

## Examples

### Authenticate with a token

```bash
csdk auth set-token eyJhbGciOiJIUzI1NiIs...
```

### Check auth status

```bash
csdk auth status
```
29 changes: 29 additions & 0 deletions .agents/skills/cli-compute/references/config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Config Variables

<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->

Manage per-context key-value configuration variables for csdk

## Usage

```bash
csdk config get <key>
csdk config set <key> <value>
csdk config list
csdk config delete <key>
```

## Examples

### Store and retrieve a config variable

```bash
csdk config set orgId abc-123
csdk config get orgId
```

### List all config variables

```bash
csdk config list
```
30 changes: 30 additions & 0 deletions .agents/skills/cli-compute/references/context.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Context Management

<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->

Manage API endpoint contexts for csdk

## Usage

```bash
csdk context create <name> --endpoint <url>
csdk context list
csdk context use <name>
csdk context current
csdk context delete <name>
```

## Examples

### Create and activate a context

```bash
csdk context create production --endpoint https://api.example.com/graphql
csdk context use production
```

### List all contexts

```bash
csdk context list
```
19 changes: 19 additions & 0 deletions .agents/skills/cli-compute/references/copy-graph.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# copyGraph

<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->

Execute the copyGraph mutation

## Usage

```bash
csdk copy-graph --input.clientMutationId <String> --input.databaseId <UUID> --input.graphId <UUID> --input.name <String>
```

## Examples

### Run copyGraph

```bash
csdk copy-graph --input.clientMutationId <String> --input.databaseId <UUID> --input.graphId <UUID> --input.name <String>
```
68 changes: 68 additions & 0 deletions .agents/skills/cli-compute/references/function-api-binding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# functionApiBinding

<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->

CRUD operations for FunctionApiBinding records via csdk CLI

## Usage

```bash
csdk function-api-binding list
csdk function-api-binding list --where.<field>.<op> <value> --orderBy <values>
csdk function-api-binding list --limit 10 --after <cursor>
csdk function-api-binding find-first --where.<field>.<op> <value>
csdk function-api-binding get --id <UUID>
csdk function-api-binding create --functionDefinitionId <UUID> --apiId <UUID> [--alias <String>] [--config <JSON>]
csdk function-api-binding update --id <UUID> [--functionDefinitionId <UUID>] [--apiId <UUID>] [--alias <String>] [--config <JSON>]
csdk function-api-binding delete --id <UUID>
```

## Examples

### List functionApiBinding records

```bash
csdk function-api-binding list
```

### List functionApiBinding records with pagination

```bash
csdk function-api-binding list --limit 10 --offset 0
```

### List functionApiBinding records with cursor pagination

```bash
csdk function-api-binding list --limit 10 --after <cursor>
```

### Find first matching functionApiBinding

```bash
csdk function-api-binding find-first --where.id.equalTo <value>
```

### List functionApiBinding records with field selection

```bash
csdk function-api-binding list --select id,id
```

### List functionApiBinding records with filtering and ordering

```bash
csdk function-api-binding list --where.id.equalTo <value> --orderBy ID_ASC
```

### Create a functionApiBinding

```bash
csdk function-api-binding create --functionDefinitionId <UUID> --apiId <UUID> [--alias <String>] [--config <JSON>]
```

### Get a functionApiBinding by id

```bash
csdk function-api-binding get --id <value>
```
Loading
Loading