Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
f1a40d1
Project import generated by Copybara.
Sep 20, 2026
a1d7c14
Project import generated by Copybara.
Sep 20, 2026
ac703a8
Project import generated by Copybara.
Sep 20, 2026
82cf8df
Project import generated by Copybara.
Sep 20, 2026
d21bdc8
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 20, 2026
1bf0483
chore: project api from Mono a2e8b231b208
Sep 20, 2026
b6d8cac
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 20, 2026
b3a0310
chore: project api from Mono cc1e1c0a4251
Sep 20, 2026
86523c3
chore: project api from Mono 9b559bc70e7d
Sep 21, 2026
5a95859
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 21, 2026
aff3c56
chore: project api from Mono 78799bd5ae75
Sep 21, 2026
96fbea9
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 21, 2026
d87ef71
chore: project api from Mono 9a003786d767
Sep 21, 2026
a10a028
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 21, 2026
0aa7b6f
chore: project api from Mono 511bd2305f5a
Sep 21, 2026
8ff8d21
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 21, 2026
6a4f422
chore: project api from Mono ad7b9df0b712
Sep 21, 2026
33b4bc4
chore: project api from Mono 3a95acea6719
Sep 21, 2026
525330e
chore: project api from Mono c16f3515c56a
Sep 21, 2026
dd8dceb
chore: project api from Mono 4ab4845398fd
Sep 21, 2026
60209a5
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 22, 2026
c46a7cf
chore: project api from Mono 43ad52f7bcc9
Sep 22, 2026
a29facb
chore: project api from Mono 2df44a8283c0
Sep 22, 2026
3e9fe6b
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 22, 2026
5e45d26
chore: project api from Mono f6e0aa99e756
Sep 22, 2026
290a3a5
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 22, 2026
090e260
chore: project api from Mono 3457dcec675e
Sep 22, 2026
8cee203
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 22, 2026
89e1fcf
chore: project api from Mono 2102d45bdf4c
Sep 22, 2026
6d033f8
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 23, 2026
e05bd4b
chore: project api from Mono 0135ea0655c8
Sep 23, 2026
08b23c0
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 23, 2026
f7bc5ed
chore: project api from Mono 7f322bbd03a5
Sep 23, 2026
517746d
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 23, 2026
1b6e855
chore: project api from Mono c3fe404d7c05
Sep 23, 2026
97972bb
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 23, 2026
835db7a
chore: project api from Mono 53a87ef3a96f
Sep 23, 2026
d9a56e8
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 24, 2026
8994762
chore: project api from Mono 0405bd95fc12
Sep 24, 2026
6e3ad82
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 24, 2026
0f4b3c1
chore: project api from Mono 916d407917e8
Sep 24, 2026
c3867d6
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 24, 2026
87726d3
chore: project api from Mono c27319825e1c
Sep 24, 2026
9e9f323
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 24, 2026
d3e9a13
chore: project api from Mono 274db22a3ad9
Sep 24, 2026
7568619
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 24, 2026
06700bd
chore: project api from Mono a971433d12b4
Sep 24, 2026
d45fbdf
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 24, 2026
efb2ad1
chore: project api from Mono c97cbb033be2
Sep 24, 2026
1236d69
Merge remote-tracking branch 'origin/main' into sync/mono-projection
github-actions[bot] Sep 25, 2026
9d61215
chore: project api from Mono d8f6c8e613bf
Sep 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .repository-projection.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"projection": "api",
"projectionSchemaVersion": 1,
"sourceRepository": "dx-corp/mono",
"sourceSha": "c97cbb033be2d815b33abd51b9e1a9a37968066c",
"sourceSha": "d8f6c8e613bf0618e9df1f7963c85b6148fd8394",
"destinationRepository": "dx-corp/api",
"priorProjectedBase": "0ec5c8b823ec3ba926670231988819898b114b79",
"definitionDigest": "706ab7174008f35b60af88a5efbfbd24e83d57686a5a3e6cd49243d205cb4344",
"priorProjectedBase": "c4c504e03e930343460a449680e6c2dbe9673a0d",
"definitionDigest": "4c1601bee99ccc8305013324608e9c146999b21427179d25fd342f69aebd37bd",
"toolDigest": "0aae6000dbd0940f5a0af380463ccb5a83285eda",
"contentDigest": "110145f9d7c9f76ba0ddebe39c0c27de3e1b2f69034797f512196aa9eb111c11",
"contentDigest": "845eb92e1859d41b386f9e05b34abe05184f567bc1f9f9c53c46bb95b6951c45",
"publicationEligible": true
}
6 changes: 6 additions & 0 deletions docs/deixic-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ Python client with `pip install deixic-sdk`. Both clients default to
`https://app.deixic.com` and accept an explicit base URL for another deployed
environment.

New to the SDK? Start with the getting started guide for
[TypeScript](sdk/getting-started-typescript.md),
[Python](sdk/getting-started-python.md), or
[Go](sdk/getting-started-go.md). Each one walks from installation to a
completed task and an approval decision.

## Safety contract

- Choose the organization and workspace when constructing the client. Method
Expand Down
70 changes: 70 additions & 0 deletions docs/sdk/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Deixic SDK getting started guides

These guides take you from an empty project to a first completed Deixic task.
Each one covers installation, credentials, a setup check, submitting a task,
reading the result, and answering an approval request.

| Language | Package | Guide |
| --- | --- | --- |
| TypeScript (Node.js 20+) | `@evalops/deixic-sdk` | [getting-started-typescript.md](getting-started-typescript.md) |
| Python (3.10+) | `deixic-sdk` | [getting-started-python.md](getting-started-python.md) |
| Go | `github.com/dx-corp/deixic-go` | [getting-started-go.md](getting-started-go.md) |

The TypeScript and Python clients include task helpers that wait for a result,
save restart checkpoints, and reconnect bounded read requests. The Go module is
the generated Connect client for the same `deixicpublic.v1.DeixicPublicService`
contract, so a Go application supplies credentials, tenant scope, and polling
itself.

For infrastructure-as-code, the
[Terraform provider](https://github.com/dx-corp/terraform-provider-deixic#readme) manages
Deixic business objects through the same public service.

## Before you start

You need:

- a Deixic organization ID and workspace ID;
- a **Deixic tasks** API key, created in Settings → API access, stored in your
server-side secret manager;
- the ID of a channel (thread) in that workspace that the key can read and
write. The examples use `company`.

Every guide reads its configuration from the same environment variables:

```sh
export DEIXIC_API_KEY=... # Keep this out of source control and browser code.
export DEIXIC_ORGANIZATION_ID=org_...
export DEIXIC_WORKSPACE_ID=ws_...
# Optional. Defaults to https://app.deixic.com.
export DEIXIC_BASE_URL=https://app.deixic.com
```

## Concepts shared by every SDK

- **Tenant scope.** The organization and workspace are fixed when you create
the client. Individual calls cannot replace them.
- **Idempotency keys.** Every mutation (submit, interrupt, respond, resolve)
takes a key that you choose. Use a new key for each new request, such as the
ID of the business event that triggered it. Reuse a key only to retry the
same request with the same body.
- **Acceptance is not completion.** Submitting a task returns an accepted turn.
Deixic then moves that turn through running, waiting, responded, and finally
completed, failed, or interrupted. Read or watch the turn until it reaches
one of those final states.
- **Waiting turns need a decision.** A turn that needs an approval or input
stays waiting until your application, acting for an authorized person,
responds. The SDKs never approve anything automatically.
- **Receipts are the record of actions.** A completed answer can reference
receipts. Check each receipt's state before you treat an external action as
done.
- **Cursors resume observation.** Event cursors are 64-bit integers. Save the
last one you processed and resume from it after a restart. If a page reports
`reset_required`, replace your local copy of the thread with the snapshot on
that page.
- **Mutations are not retried.** The clients do not resend a mutation after a
network or availability failure. Your application decides whether to retry
with the same idempotency key.

The full list of supported operations and the safety contract is in
[deixic-sdk.md](../deixic-sdk.md).
Loading
Loading