Skip to content

Commit 19f3cfe

Browse files
committed
docs: Rename organization from jsr-probitas to probitas-test
1 parent f800137 commit 19f3cfe

33 files changed

Lines changed: 55 additions & 55 deletions

AI.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ How to let AI assistants write and run Probitas scenario tests.
77
Install the official marketplace and Probitas plugin:
88

99
```bash
10-
/plugin marketplace add jsr-probitas/claude-plugins
11-
/plugin install probitas@jsr-probitas
10+
/plugin marketplace add probitas-test/claude-plugins
11+
/plugin install probitas@probitas-test
1212
```
1313

1414
Enable it in `.claude/settings.json`:
1515

1616
```json
1717
{
1818
"plugins": {
19-
"marketplaces": ["jsr-probitas/claude-plugins"],
20-
"installed": ["probitas@jsr-probitas"]
19+
"marketplaces": ["probitas-test/claude-plugins"],
20+
"installed": ["probitas@probitas-test"]
2121
},
2222
"enabledPlugins": {
23-
"probitas@jsr-probitas": true
23+
"probitas@probitas-test": true
2424
}
2525
}
2626
```
@@ -81,6 +81,6 @@ Local probitas CLI tasks:
8181

8282
## Links
8383

84-
- Claude plugin marketplace: https://github.com/jsr-probitas/claude-plugins
84+
- Claude plugin marketplace: https://github.com/probitas-test/claude-plugins
8585
- Probitas plugin docs:
86-
https://github.com/jsr-probitas/claude-plugins/tree/main/plugins/probitas
86+
https://github.com/probitas-test/claude-plugins/tree/main/plugins/probitas

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Probitas Documentation
22

3-
[![GitHub Pages](https://img.shields.io/badge/docs-GitHub%20Pages-blue)](https://jsr-probitas.github.io/documents)
3+
[![GitHub Pages](https://img.shields.io/badge/docs-GitHub%20Pages-blue)](https://probitas-test.github.io/documents)
44
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)
55

66
Documentation site for [Probitas](https://jsr.io/@probitas/probitas) - a
@@ -17,7 +17,7 @@ scenario-based testing framework for Deno.
1717

1818
```bash
1919
# Clone the repository
20-
git clone https://github.com/jsr-probitas/documents.git
20+
git clone https://github.com/probitas-test/documents.git
2121
cd documents
2222

2323
# Start development server
@@ -138,7 +138,7 @@ This site is deployed to **GitHub Pages** via GitHub Actions.
138138
2. GitHub Actions runs `deno task build`
139139
3. Static files in `dist/` are deployed to GitHub Pages
140140

141-
Live site: https://jsr-probitas.github.io/documents
141+
Live site: https://probitas-test.github.io/documents
142142

143143
## License
144144

data/api/builder.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "builder",
33
"specifier": "@probitas/builder",
44
"version": "0.4.2",
5-
"moduleDoc": "Builder module for creating scenario definitions with a fluent, type-safe API.\n\nThis package provides the {@linkcode scenario} fn function that returns a builder\nfor constructing scenario definitions. The builder uses method chaining to define\nresources, setup functions, and test steps with full TypeScript type inference.\n\n## Links\n\n- [GitHub Repository](https://github.com/jsr-probitas/probitas)\n- [@probitas/probitas](https://jsr.io/@probitas/probitas) - Main package (recommended for most users)\n\n## Related Packages\n\n| Package | Description |\n|---------|-------------|\n| [@probitas/core](https://jsr.io/@probitas/core) | Core type definitions used by this builder |\n| [@probitas/runner](https://jsr.io/@probitas/runner) | Executes scenarios built with this package |\n\n## Key Features\n\n- **Fluent API**: Chain methods naturally to build complex scenarios\n- **Type-safe context**: Each step receives typed access to previous step results\n- **Resource management**: Register resources with automatic lifecycle handling\n- **Setup/Cleanup**: Define setup functions with automatic cleanup support\n- **Configurable defaults**: Override timeout and retry settings at any level\n\n## Core Exports\n\n- {@linkcode scenario} - Factory function to create a new scenario builder\n- {@linkcode StepContext} - Type representing the context passed to step functions\n- {@linkcode StepFunction} - Type signature for step functions\n- {@linkcode SetupFunction} - Type signature for setup functions\n- {@linkcode ResourceFunction} - Type signature for resource fn functions\n- {@linkcode BuilderScenarioOptions} - Partial options for scenario configuration\n- {@linkcode BuilderStepOptions} - Partial options for step configuration\n- {@linkcode DEFAULT_SCENARIO_OPTIONS} - Default values for scenario options\n- {@linkcode DEFAULT_STEP_OPTIONS} - Default values for step options\n",
5+
"moduleDoc": "Builder module for creating scenario definitions with a fluent, type-safe API.\n\nThis package provides the {@linkcode scenario} fn function that returns a builder\nfor constructing scenario definitions. The builder uses method chaining to define\nresources, setup functions, and test steps with full TypeScript type inference.\n\n## Links\n\n- [GitHub Repository](https://github.com/probitas-test/probitas)\n- [@probitas/probitas](https://jsr.io/@probitas/probitas) - Main package (recommended for most users)\n\n## Related Packages\n\n| Package | Description |\n|---------|-------------|\n| [@probitas/core](https://jsr.io/@probitas/core) | Core type definitions used by this builder |\n| [@probitas/runner](https://jsr.io/@probitas/runner) | Executes scenarios built with this package |\n\n## Key Features\n\n- **Fluent API**: Chain methods naturally to build complex scenarios\n- **Type-safe context**: Each step receives typed access to previous step results\n- **Resource management**: Register resources with automatic lifecycle handling\n- **Setup/Cleanup**: Define setup functions with automatic cleanup support\n- **Configurable defaults**: Override timeout and retry settings at any level\n\n## Core Exports\n\n- {@linkcode scenario} - Factory function to create a new scenario builder\n- {@linkcode StepContext} - Type representing the context passed to step functions\n- {@linkcode StepFunction} - Type signature for step functions\n- {@linkcode SetupFunction} - Type signature for setup functions\n- {@linkcode ResourceFunction} - Type signature for resource fn functions\n- {@linkcode BuilderScenarioOptions} - Partial options for scenario configuration\n- {@linkcode BuilderStepOptions} - Partial options for step configuration\n- {@linkcode DEFAULT_SCENARIO_OPTIONS} - Default values for scenario options\n- {@linkcode DEFAULT_STEP_OPTIONS} - Default values for step options\n",
66
"exports": [
77
{
88
"name": "scenario",

data/api/client-connectrpc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "client-connectrpc",
33
"specifier": "@probitas/client-connectrpc",
44
"version": "0.6.0",
5-
"moduleDoc": "ConnectRPC client for [Probitas](https://github.com/jsr-probitas/probitas) scenario testing framework.\n\nThis package provides a ConnectRPC-based client with Server Reflection support,\ndesigned for integration testing of gRPC and Connect protocol services.\n\n## Features\n\n- **Protocol Support**: Connect, gRPC, and gRPC-Web protocols\n- **Server Reflection**: Auto-discover services and methods at runtime\n- **TLS Support**: Configure secure connections with custom certificates\n- **Duration Tracking**: Built-in timing for performance monitoring\n- **Error Handling**: Test error responses without throwing exceptions\n- **Resource Management**: Implements `AsyncDisposable` for proper cleanup\n\n## Installation\n\n```bash\ndeno add jsr:@probitas/client-connectrpc\n```\n\n## Quick Start\n\n```ts\nimport { createConnectRpcClient } from \"@probitas/client-connectrpc\";\n\n// Create client (uses reflection by default)\nconst client = createConnectRpcClient({\n url: \"http://localhost:50051\",\n});\n\n// Discover services via reflection\nconst services = await client.reflection.listServices();\nconsole.log(\"Available services:\", services);\n\n// Get service info\nconst info = await client.reflection.getServiceInfo(\"echo.EchoService\");\nconsole.log(\"Methods:\", info.methods);\n\n// Call a method\nconst response = await client.call(\n \"echo.EchoService\",\n \"echo\",\n { message: \"Hello!\" }\n);\nconsole.log(response.data);\n\nawait client.close();\n```\n\n## Testing Error Responses\n\n```ts\nimport { createConnectRpcClient } from \"@probitas/client-connectrpc\";\n\nconst client = createConnectRpcClient({ url: \"http://localhost:50051\" });\n\n// Test error responses without throwing\nconst errorResponse = await client.call(\n \"echo.EchoService\",\n \"echo\",\n { invalid: true },\n { throwOnError: false }\n);\n\nif (!errorResponse.ok) {\n console.log(\"Error code:\", errorResponse.statusCode); // INVALID_ARGUMENT = 3\n}\nawait client.close();\n```\n\n## Using with `using` Statement\n\n```ts\nimport { createConnectRpcClient } from \"@probitas/client-connectrpc\";\n\nawait using client = createConnectRpcClient({ url: \"http://localhost:50051\" });\n\nconst res = await client.call(\"echo.EchoService\", \"echo\", { message: \"test\" });\nconsole.log(res.data);\n// Client automatically closed when block exits\n```\n\n## Related Packages\n\n| Package | Description |\n|---------|-------------|\n| [`@probitas/client`](https://jsr.io/@probitas/client) | Core utilities and types |\n| [`@probitas/client-grpc`](https://jsr.io/@probitas/client-grpc) | gRPC client (wrapper with `protocol: \"grpc\"`) |\n\n## Links\n\n- [GitHub Repository](https://github.com/jsr-probitas/probitas-client)\n- [Probitas Framework](https://github.com/jsr-probitas/probitas)\n- [ConnectRPC](https://connectrpc.com/)\n",
5+
"moduleDoc": "ConnectRPC client for [Probitas](https://github.com/probitas-test/probitas) scenario testing framework.\n\nThis package provides a ConnectRPC-based client with Server Reflection support,\ndesigned for integration testing of gRPC and Connect protocol services.\n\n## Features\n\n- **Protocol Support**: Connect, gRPC, and gRPC-Web protocols\n- **Server Reflection**: Auto-discover services and methods at runtime\n- **TLS Support**: Configure secure connections with custom certificates\n- **Duration Tracking**: Built-in timing for performance monitoring\n- **Error Handling**: Test error responses without throwing exceptions\n- **Resource Management**: Implements `AsyncDisposable` for proper cleanup\n\n## Installation\n\n```bash\ndeno add jsr:@probitas/client-connectrpc\n```\n\n## Quick Start\n\n```ts\nimport { createConnectRpcClient } from \"@probitas/client-connectrpc\";\n\n// Create client (uses reflection by default)\nconst client = createConnectRpcClient({\n url: \"http://localhost:50051\",\n});\n\n// Discover services via reflection\nconst services = await client.reflection.listServices();\nconsole.log(\"Available services:\", services);\n\n// Get service info\nconst info = await client.reflection.getServiceInfo(\"echo.EchoService\");\nconsole.log(\"Methods:\", info.methods);\n\n// Call a method\nconst response = await client.call(\n \"echo.EchoService\",\n \"echo\",\n { message: \"Hello!\" }\n);\nconsole.log(response.data);\n\nawait client.close();\n```\n\n## Testing Error Responses\n\n```ts\nimport { createConnectRpcClient } from \"@probitas/client-connectrpc\";\n\nconst client = createConnectRpcClient({ url: \"http://localhost:50051\" });\n\n// Test error responses without throwing\nconst errorResponse = await client.call(\n \"echo.EchoService\",\n \"echo\",\n { invalid: true },\n { throwOnError: false }\n);\n\nif (!errorResponse.ok) {\n console.log(\"Error code:\", errorResponse.statusCode); // INVALID_ARGUMENT = 3\n}\nawait client.close();\n```\n\n## Using with `using` Statement\n\n```ts\nimport { createConnectRpcClient } from \"@probitas/client-connectrpc\";\n\nawait using client = createConnectRpcClient({ url: \"http://localhost:50051\" });\n\nconst res = await client.call(\"echo.EchoService\", \"echo\", { message: \"test\" });\nconsole.log(res.data);\n// Client automatically closed when block exits\n```\n\n## Related Packages\n\n| Package | Description |\n|---------|-------------|\n| [`@probitas/client`](https://jsr.io/@probitas/client) | Core utilities and types |\n| [`@probitas/client-grpc`](https://jsr.io/@probitas/client-grpc) | gRPC client (wrapper with `protocol: \"grpc\"`) |\n\n## Links\n\n- [GitHub Repository](https://github.com/probitas-test/probitas-client)\n- [Probitas Framework](https://github.com/probitas-test/probitas)\n- [ConnectRPC](https://connectrpc.com/)\n",
66
"exports": [
77
{
88
"name": "ConnectRpcResponse",

data/api/client-deno-kv.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "client-deno-kv",
33
"specifier": "@probitas/client-deno-kv",
44
"version": "0.4.1",
5-
"moduleDoc": "Deno KV client for [Probitas](https://github.com/jsr-probitas/probitas) scenario testing framework.\n\nThis package provides a Deno KV client designed for integration testing of applications using Deno KV storage.\n\n## Features\n\n- **Key-Value Operations**: get, set, delete with structured keys\n- **Listing**: Iterate over keys by prefix, start, end\n- **Atomic Transactions**: Atomic operations with version checking\n- **Type Safety**: Generic type parameters for stored values\n- **Resource Management**: Implements `AsyncDisposable` for proper cleanup\n\n## Installation\n\n```bash\ndeno add jsr:@probitas/client-deno-kv\n```\n\n## Quick Start\n\n```ts\nimport { createDenoKvClient } from \"@probitas/client-deno-kv\";\n\nconst kv = await createDenoKvClient();\n\n// Set a value\nconst setResult = await kv.set([\"users\", \"1\"], { name: \"Alice\", age: 30 });\nconsole.log(\"Versionstamp:\", setResult.versionstamp);\n\n// Get a value with type\nconst getResult = await kv.get<{ name: string; age: number }>([\"users\", \"1\"]);\nconsole.log(\"User:\", getResult.value);\n\n// List entries by prefix\nconst listResult = await kv.list<{ name: string }>({ prefix: [\"users\"] });\nconsole.log(\"Entries:\", listResult.entries);\n\nawait kv.close();\n```\n\n## Atomic Operations\n\n```ts\nimport { createDenoKvClient } from \"@probitas/client-deno-kv\";\n\nconst kv = await createDenoKvClient();\n\n// Atomic transaction with version check\nconst atomic = kv.atomic();\natomic.check({ key: [\"counter\"], versionstamp: null }); // Only if key doesn't exist\natomic.set([\"counter\"], 1n);\nawait atomic.commit();\n\n// Atomic increment\nconst current = await kv.get<bigint>([\"counter\"]);\nconst atomic2 = kv.atomic();\natomic2.check({ key: [\"counter\"], versionstamp: current.versionstamp });\natomic2.set([\"counter\"], (current.value ?? 0n) + 1n);\nawait atomic2.commit();\n\nawait kv.close();\n```\n\n## Using with `using` Statement\n\n```ts\nimport { createDenoKvClient } from \"@probitas/client-deno-kv\";\n\nawait using kv = await createDenoKvClient();\n\nawait kv.set([\"test\"], \"value\");\nconst result = await kv.get([\"test\"]);\nconsole.log(result.value);\n// Client automatically closed when block exits\n```\n\n## Related Packages\n\n| Package | Description |\n|---------|-------------|\n| [`@probitas/client`](https://jsr.io/@probitas/client) | Core utilities and types |\n| [`@probitas/client-redis`](https://jsr.io/@probitas/client-redis) | Redis client |\n\n## Links\n\n- [GitHub Repository](https://github.com/jsr-probitas/probitas-client)\n- [Probitas Framework](https://github.com/jsr-probitas/probitas)\n- [Deno KV](https://deno.land/manual/runtime/kv)\n",
5+
"moduleDoc": "Deno KV client for [Probitas](https://github.com/probitas-test/probitas) scenario testing framework.\n\nThis package provides a Deno KV client designed for integration testing of applications using Deno KV storage.\n\n## Features\n\n- **Key-Value Operations**: get, set, delete with structured keys\n- **Listing**: Iterate over keys by prefix, start, end\n- **Atomic Transactions**: Atomic operations with version checking\n- **Type Safety**: Generic type parameters for stored values\n- **Resource Management**: Implements `AsyncDisposable` for proper cleanup\n\n## Installation\n\n```bash\ndeno add jsr:@probitas/client-deno-kv\n```\n\n## Quick Start\n\n```ts\nimport { createDenoKvClient } from \"@probitas/client-deno-kv\";\n\nconst kv = await createDenoKvClient();\n\n// Set a value\nconst setResult = await kv.set([\"users\", \"1\"], { name: \"Alice\", age: 30 });\nconsole.log(\"Versionstamp:\", setResult.versionstamp);\n\n// Get a value with type\nconst getResult = await kv.get<{ name: string; age: number }>([\"users\", \"1\"]);\nconsole.log(\"User:\", getResult.value);\n\n// List entries by prefix\nconst listResult = await kv.list<{ name: string }>({ prefix: [\"users\"] });\nconsole.log(\"Entries:\", listResult.entries);\n\nawait kv.close();\n```\n\n## Atomic Operations\n\n```ts\nimport { createDenoKvClient } from \"@probitas/client-deno-kv\";\n\nconst kv = await createDenoKvClient();\n\n// Atomic transaction with version check\nconst atomic = kv.atomic();\natomic.check({ key: [\"counter\"], versionstamp: null }); // Only if key doesn't exist\natomic.set([\"counter\"], 1n);\nawait atomic.commit();\n\n// Atomic increment\nconst current = await kv.get<bigint>([\"counter\"]);\nconst atomic2 = kv.atomic();\natomic2.check({ key: [\"counter\"], versionstamp: current.versionstamp });\natomic2.set([\"counter\"], (current.value ?? 0n) + 1n);\nawait atomic2.commit();\n\nawait kv.close();\n```\n\n## Using with `using` Statement\n\n```ts\nimport { createDenoKvClient } from \"@probitas/client-deno-kv\";\n\nawait using kv = await createDenoKvClient();\n\nawait kv.set([\"test\"], \"value\");\nconst result = await kv.get([\"test\"]);\nconsole.log(result.value);\n// Client automatically closed when block exits\n```\n\n## Related Packages\n\n| Package | Description |\n|---------|-------------|\n| [`@probitas/client`](https://jsr.io/@probitas/client) | Core utilities and types |\n| [`@probitas/client-redis`](https://jsr.io/@probitas/client-redis) | Redis client |\n\n## Links\n\n- [GitHub Repository](https://github.com/probitas-test/probitas-client)\n- [Probitas Framework](https://github.com/probitas-test/probitas)\n- [Deno KV](https://deno.land/manual/runtime/kv)\n",
66
"exports": [
77
{
88
"name": "DenoKvOptions",

0 commit comments

Comments
 (0)