Skip to content

Commit f4ad17c

Browse files
refactor: improve project organization and create rig crate (0xPlaygrounds#1699)
* 1 * refactor * update agent docs * disable default features for crates * cargo feature magic * cargo toml magickry * remove extra script
1 parent 7f03489 commit f4ad17c

717 files changed

Lines changed: 899 additions & 1228 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/commands/rig-provider-checklist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Reference excerpts:
2424

2525
## rig-provider-implementation
2626

27-
Reference implementation: `rig-core/src/providers/openai/` (Chat Completions API)
27+
Reference implementation: `crates/rig-core/src/providers/openai/` (Chat Completions API)
2828

2929
When implementing a new provider, study the OpenAI Chat Completions implementation thoroughly. It demonstrates the complete pattern including both completion and embedding models.
3030

.claude/skills/rig-provider/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Provider checklist:
2929

3030
## rig-provider-implementation
3131

32-
Reference implementation: `rig-core/src/providers/openai/` (Chat Completions API)
32+
Reference implementation: `crates/rig-core/src/providers/openai/` (Chat Completions API)
3333

3434
When implementing a new provider, study the OpenAI Chat Completions implementation thoroughly. It demonstrates the complete pattern including both completion and embedding models.
3535

.clinerules/02-rig-provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Use this checklist for provider and vector-store implementations.
1111

1212
## rig-provider-implementation
1313

14-
Reference implementation: `rig-core/src/providers/openai/` (Chat Completions API)
14+
Reference implementation: `crates/rig-core/src/providers/openai/` (Chat Completions API)
1515

1616
When implementing a new provider, study the OpenAI Chat Completions implementation thoroughly. It demonstrates the complete pattern including both completion and embedding models.
1717

.continue/rules/rig-provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Use this checklist for provider and vector-store implementations.
1010

1111
## rig-provider-implementation
1212

13-
Reference implementation: `rig-core/src/providers/openai/` (Chat Completions API)
13+
Reference implementation: `crates/rig-core/src/providers/openai/` (Chat Completions API)
1414

1515
When implementing a new provider, study the OpenAI Chat Completions implementation thoroughly. It demonstrates the complete pattern including both completion and embedding models.
1616

.cursor/rules/rig-provider.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Canonical sections:
1616

1717
## rig-provider-implementation
1818

19-
Reference implementation: `rig-core/src/providers/openai/` (Chat Completions API)
19+
Reference implementation: `crates/rig-core/src/providers/openai/` (Chat Completions API)
2020

2121
When implementing a new provider, study the OpenAI Chat Completions implementation thoroughly. It demonstrates the complete pattern including both completion and embedding models.
2222

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Use `Capable<T>` for supported features and `Nothing` for unsupported ones.
7070

7171
## rig-provider-implementation
7272

73-
Reference implementation: `rig-core/src/providers/openai/` (Chat Completions API)
73+
Reference implementation: `crates/rig-core/src/providers/openai/` (Chat Completions API)
7474

7575
When implementing a new provider, study the OpenAI Chat Completions implementation thoroughly. It demonstrates the complete pattern including both completion and embedding models.
7676

.github/prompts/rig-provider.prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Canonical references:
4040

4141
## rig-provider-implementation
4242

43-
Reference implementation: `rig-core/src/providers/openai/` (Chat Completions API)
43+
Reference implementation: `crates/rig-core/src/providers/openai/` (Chat Completions API)
4444

4545
When implementing a new provider, study the OpenAI Chat Completions implementation thoroughly. It demonstrates the complete pattern including both completion and embedding models.
4646

.roo/rules/rig-provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Use this checklist for provider and vector-store implementations.
77

88
## rig-provider-implementation
99

10-
Reference implementation: `rig-core/src/providers/openai/` (Chat Completions API)
10+
Reference implementation: `crates/rig-core/src/providers/openai/` (Chat Completions API)
1111

1212
When implementing a new provider, study the OpenAI Chat Completions implementation thoroughly. It demonstrates the complete pattern including both completion and embedding models.
1313

.windsurf/rules/rig-provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Use this checklist for provider and vector-store implementations.
77

88
## rig-provider-implementation
99

10-
Reference implementation: `rig-core/src/providers/openai/` (Chat Completions API)
10+
Reference implementation: `crates/rig-core/src/providers/openai/` (Chat Completions API)
1111

1212
When implementing a new provider, study the OpenAI Chat Completions implementation thoroughly. It demonstrates the complete pattern including both completion and embedding models.
1313

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Use `Capable<T>` for supported features and `Nothing` for unsupported ones.
9595
## Implementing New Providers
9696

9797
<!-- RIG_SKILL_MODULE: rig-provider-implementation START -->
98-
Reference implementation: `rig-core/src/providers/openai/` (Chat Completions API)
98+
Reference implementation: `crates/rig-core/src/providers/openai/` (Chat Completions API)
9999

100100
When implementing a new provider, study the OpenAI Chat Completions implementation thoroughly. It demonstrates the complete pattern including both completion and embedding models.
101101

0 commit comments

Comments
 (0)